Skip to content

Commit c2694f1

Browse files
committed
Fix compile failure due to 2015 module system being weird
1 parent 86e2fcb commit c2694f1

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
@@ -109,7 +109,7 @@ Links are resolved in the scope of the module where the item is defined, even
109109
when the item is re-exported. If a link from another crate fails to resolve, no
110110
warning is given.
111111

112-
```rust
112+
```rust,edition2018
113113
mod inner {
114114
/// Link to [f()]
115115
pub struct S;

0 commit comments

Comments
 (0)