about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-01-26 11:40:48 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2021-01-27 10:05:06 +0100
commitd78e1ed623d0679f20bd12ae79f41629218ff916 (patch)
tree80483da6275ba99770efca044a62901b6e31e5e7
parent5f22b30ca6020720d2934c3ef850ea879a1419e3 (diff)
Fix clean/types doc links
-rw-r--r--src/librustdoc/clean/types.rs3
1 files changed, 3 insertions, 0 deletions
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 @@ crate trait GetDefId {
     /// 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>;
 }