Skip to content

Commit 6928041

Browse files
ManishearthJoshua Nelson
and
Joshua Nelson
authored
Update src/doc/rustdoc/src/linking-to-items-by-name.md
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent 792b2ea commit 6928041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustdoc/src/linking-to-items-by-name.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You can also link to sections using URL fragment specifiers:
5050
struct MySpecialFormatter;
5151
```
5252

53-
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@`::
53+
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@`:
5454

5555
```rust
5656
/// See also: [`Foo`](struct@Foo)

0 commit comments

Comments
 (0)