Skip to content

Commit b1fa845

Browse files
committedMay 23, 2024·
Improve the doc of query associated_item
1 parent ed172db commit b1fa845

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_middle/src/query/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ rustc_queries! {
780780
separate_provide_extern
781781
}
782782

783-
/// Maps from a trait item to the trait item "descriptor".
783+
/// Maps from a trait/impl item to the trait/impl item "descriptor".
784784
query associated_item(key: DefId) -> ty::AssocItem {
785785
desc { |tcx| "computing associated item data for `{}`", tcx.def_path_str(key) }
786786
cache_on_disk_if { key.is_local() }

0 commit comments

Comments
 (0)
Please sign in to comment.