mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
update docs
This commit is contained in:
parent
0eecbd4f97
commit
bfa2030ccb
@ -721,7 +721,8 @@ impl<'tcx> LateContext<'tcx> {
|
|||||||
/// inherent `impl` blocks are matched with the name of the type.
|
/// inherent `impl` blocks are matched with the name of the type.
|
||||||
///
|
///
|
||||||
/// Instead of using this method, it is often preferable to instead use
|
/// Instead of using this method, it is often preferable to instead use
|
||||||
/// `rustc_diagnostic_item` or a `lang_item`, which is less prone to errors.
|
/// `rustc_diagnostic_item` or a `lang_item`. This is less prone to errors
|
||||||
|
/// as paths get invalidated if the target definition moves.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user