]> git.lizzy.rs Git - rust.git/commitdiff
Fix clean/types doc links
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 26 Jan 2021 10:40:48 +0000 (11:40 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 27 Jan 2021 09:05:06 +0000 (10:05 +0100)
src/librustdoc/clean/types.rs

index 7b5abc0335e278d8f89f6c4c17d1007b918ff287..86bce8b8707a01b77d2a32280e8706e05dfab601 100644 (file)
@@ -1310,12 +1310,15 @@ fn def_id_full(&self, cache: &Cache) -> Option<DefId> {
     /// 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<DefId>;
 
     /// 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<DefId>;
 }