diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-09-17 20:21:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-17 20:21:09 -0700 |
| commit | 6928041c0a992093a7752ae3c04090caebcd4515 (patch) | |
| tree | e398872aa41c4df040bb6bdc13d32f77a7b3843a | |
| parent | 792b2ea5812a06fe3d362ae36025998af66199ee (diff) | |
| download | rust-6928041c0a992093a7752ae3c04090caebcd4515.tar.gz rust-6928041c0a992093a7752ae3c04090caebcd4515.zip | |
Update src/doc/rustdoc/src/linking-to-items-by-name.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
| -rw-r--r-- | src/doc/rustdoc/src/linking-to-items-by-name.md | 2 |
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 d48ba5f9d2b..5e46ef583f6 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@`, `prim@`, `primitive@`, `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@`, `static@`, `value@`, `function@`, `mod@`, `fn@`, `module@`, `method@`, `prim@`, `primitive@`, `macro@`, or `derive@`: ```rust /// See also: [`Foo`](struct@Foo) |
