Skip to content

Commit

Permalink
Improve the doc of query associated_item
Browse files Browse the repository at this point in the history
  • Loading branch information
mu001999 committed May 23, 2024
1 parent ed172db commit b1fa845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ rustc_queries! {
separate_provide_extern
}

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

0 comments on commit b1fa845

Please sign in to comment.