Skip to content

Commit 7c15779

Browse files
committed
Rustdoc nit: refer to macro from docs
1 parent b0142f6 commit 7c15779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/print/pretty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3004,7 +3004,7 @@ fn for_each_def(tcx: TyCtxt<'_>, mut collect_fn: impl for<'b> FnMut(&'b Ident, N
30043004
///
30053005
/// The implementation uses similar import discovery logic to that of 'use' suggestions.
30063006
///
3007-
/// See also [`DelayDm`](rustc_error_messages::DelayDm) and [`with_no_trimmed_paths`].
3007+
/// See also [`DelayDm`](rustc_error_messages::DelayDm) and [`with_no_trimmed_paths!`].
30083008
fn trimmed_def_paths(tcx: TyCtxt<'_>, (): ()) -> FxHashMap<DefId, Symbol> {
30093009
let mut map: FxHashMap<DefId, Symbol> = FxHashMap::default();
30103010

0 commit comments

Comments
 (0)