about summary refs log tree commit diff
path: root/src/doc/rustdoc
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-17 10:49:51 -0700
committerManish Goregaokar <manishsmail@gmail.com>2020-09-13 18:12:51 -0700
commitbc06674774e6457046e41a48dc3e8be8c5496f11 (patch)
tree76ce49f16b63e6af962d59d4ed699d690abf246d /src/doc/rustdoc
parent63d5beec43ff7721928821cd83f9790188b03276 (diff)
downloadrust-bc06674774e6457046e41a48dc3e8be8c5496f11.tar.gz
rust-bc06674774e6457046e41a48dc3e8be8c5496f11.zip
Mention super/crate/self in docs
Diffstat (limited to 'src/doc/rustdoc')
-rw-r--r--src/doc/rustdoc/src/linking-to-items-by-name.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/linking-to-items-by-name.md b/src/doc/rustdoc/src/linking-to-items-by-name.md
index e9d726fefd4..9871558fc47 100644
--- a/src/doc/rustdoc/src/linking-to-items-by-name.md
+++ b/src/doc/rustdoc/src/linking-to-items-by-name.md
@@ -22,7 +22,7 @@ pub struct Foo4;
 pub struct Bar;
 ```
 
-You can refer to anything in scope, and use paths, including `Self`. You may also use `foo()` and `foo!()` to refer to methods/functions and macros respectively.
+You can refer to anything in scope, and use paths, including `Self`, `self`, `super`, and `crate`. You may also use `foo()` and `foo!()` to refer to methods/functions and macros respectively.
 
 ```rust,edition2018
 use std::sync::mpsc::Receiver;