Skip to content

Commit

Permalink
Fix compile failure due to 2015 module system being weird
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Feb 23, 2021
1 parent 86e2fcb commit c2694f1
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
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Links are resolved in the scope of the module where the item is defined, even
when the item is re-exported. If a link from another crate fails to resolve, no
warning is given.

```rust
```rust,edition2018
mod inner {
/// Link to [f()]
pub struct S;
Expand Down

0 comments on commit c2694f1

Please sign in to comment.