File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ impl Item {
293293
294294 /// See the documentation for [`next_def_id()`].
295295 ///
296- /// [`next_def_id()`]: crate::core:: DocContext::next_def_id()
296+ /// [`next_def_id()`]: DocContext::next_def_id()
297297 crate fn is_fake ( & self ) -> bool {
298298 MAX_DEF_ID . with ( |m| {
299299 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> {
123123 /// Create a new "fake" [`DefId`].
124124 ///
125125 /// 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
127127 /// to be registered after the AST is constructed would require storing the [`DefId`] mapping
128128 /// in a [`RefCell`], decreasing the performance for normal compilation for very little gain.
129129 ///
You can’t perform that action at this time.
0 commit comments