Skip to content

Commit

Permalink
Update src/doc/rustdoc/src/linking-to-items-by-name.md
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
  • Loading branch information
Manishearth and Joshua Nelson committed Sep 14, 2020
1 parent 4e0eb0b commit 175e305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustdoc/src/linking-to-items-by-name.md
Expand Up @@ -22,7 +22,7 @@ pub struct Foo4;
pub struct Bar;
```

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.
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. Backticks around the link will be stripped.

```rust,edition2018
use std::sync::mpsc::Receiver;
Expand Down

0 comments on commit 175e305

Please sign in to comment.