Document prim@ and primitive@
This commit is contained in:
parent
bcd6fe35e0
commit
73de34319e
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ impl<T> AsyncReceiver<T> {
|
|||
}
|
||||
```
|
||||
|
||||
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@`, `static@`, `value@`, `function@`, `mod@`, `fn@`, `module@`, `method@`, `prim@`, `primitive@`, `macro@`, or `derive@`:
|
||||
|
||||
```rust
|
||||
/// See also: [`Foo`](struct@Foo)
|
||||
|
|
Loading…
Reference in a new issue