about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-08-08 18:56:27 -0700
committerManish Goregaokar <manishsmail@gmail.com>2020-09-13 18:12:52 -0700
commit4e0eb0b73ba2defaf0f3c2152e9daa5c18d1603f (patch)
tree754135c3705493f5904a3635de4137221c6bcf6f /src/doc
parent2a98409634ec38547d03512898192b5bdce15f3d (diff)
downloadrust-4e0eb0b73ba2defaf0f3c2152e9daa5c18d1603f.tar.gz
rust-4e0eb0b73ba2defaf0f3c2152e9daa5c18d1603f.zip
Update src/doc/rustdoc/src/linking-to-items-by-name.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Diffstat (limited to 'src/doc')
-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 99ca3433cc4..6c0a548b4ff 100644
--- a/src/doc/rustdoc/src/linking-to-items-by-name.md
+++ b/src/doc/rustdoc/src/linking-to-items-by-name.md
@@ -50,7 +50,7 @@ You can also link to sections using URL fragment specifiers:
 struct MySpecialFormatter;
 ```
 
-Paths in Rust have three namespaces: type, value, and macro. Items from these namespaces are allowed to overlap. In case of ambiguity, rustdoc will warn about the ambiguity and ask you to disambiguate, which can be done by using a prefix like `struct@`, `enum@`, `type@`, `trait@`, `union@`, `const@`, `static@`, `value@`, `function@`, `mod@`, `fn@`, `module@`, `method@` , `macro@`, or `derive@`:
+Paths in Rust have three namespaces: type, value, and macro. Items from these namespaces are allowed to overlap. In case of ambiguity, rustdoc will warn about the ambiguity and ask you to disambiguate, which can be done by using a prefix like `struct@`, `enum@`, `type@`, `trait@`, `union@`, `const@`, `@constant`, `static@`, `value@`, `function@`, `mod@`, `fn@`, `module@`, `method@` , `macro@`, or `derive@`:
 
 ```rust
 /// See also: [`Foo`](struct@Foo)