File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ impl Item {
293
293
294
294
/// See the documentation for [`next_def_id()`].
295
295
///
296
- /// [`next_def_id()`]: crate::core:: DocContext::next_def_id()
296
+ /// [`next_def_id()`]: DocContext::next_def_id()
297
297
crate fn is_fake ( & self ) -> bool {
298
298
MAX_DEF_ID . with ( |m| {
299
299
m. borrow ( ) . get ( & self . def_id . krate ) . map ( |id| self . def_id >= * id) . unwrap_or ( false )
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ impl<'tcx> DocContext<'tcx> {
123
123
/// Create a new "fake" [`DefId`].
124
124
///
125
125
/// This is an ugly hack, but it's the simplest way to handle synthetic impls without greatly
126
- /// refactoring either `librustdoc` or [`rustc_middle`]. In particular, allowing new [`DefId`]s
126
+ /// refactoring either rustdoc or [`rustc_middle`]. In particular, allowing new [`DefId`]s
127
127
/// to be registered after the AST is constructed would require storing the [`DefId`] mapping
128
128
/// in a [`RefCell`], decreasing the performance for normal compilation for very little gain.
129
129
///
You can’t perform that action at this time.
0 commit comments