Improve the doc of query associated_item
This commit is contained in:
parent
ed172dbbaf
commit
b1fa845d42
@ -780,7 +780,7 @@
|
|||||||
separate_provide_extern
|
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 {
|
query associated_item(key: DefId) -> ty::AssocItem {
|
||||||
desc { |tcx| "computing associated item data for `{}`", tcx.def_path_str(key) }
|
desc { |tcx| "computing associated item data for `{}`", tcx.def_path_str(key) }
|
||||||
cache_on_disk_if { key.is_local() }
|
cache_on_disk_if { key.is_local() }
|
||||||
|
Loading…
Reference in New Issue
Block a user