mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
Improve the doc of query associated_item
This commit is contained in:
@@ -780,7 +780,7 @@
|
||||
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() }
|
||||
|
||||
Reference in New Issue
Block a user