From: Guillaume Gomez Date: Tue, 26 Jan 2021 10:40:48 +0000 (+0100) Subject: Fix clean/types doc links X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d78e1ed623d0679f20bd12ae79f41629218ff916;p=rust.git Fix clean/types doc links --- diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs index 7b5abc0335e..86bce8b8707 100644 --- a/src/librustdoc/clean/types.rs +++ b/src/librustdoc/clean/types.rs @@ -1310,12 +1310,15 @@ fn def_id_full(&self, cache: &Cache) -> Option { /// Use [`Self::def_id_full`] if you want to include primitives. /// /// [`clean`]: crate::clean + /// [`clean::Type`]: crate::clean::Type // FIXME: get rid of this function and always use `def_id_full` fn def_id(&self) -> Option; /// Use this method to get the [DefId] of a [clean] AST node, including [PrimitiveType]s. /// /// See [`Self::def_id`] for more. + /// + /// [clean]: crate::clean fn def_id_full(&self, cache: &Cache) -> Option; }