We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cafc458 commit 706faa1Copy full SHA for 706faa1
src/doc/rustdoc/src/documentation-tests.md
@@ -359,9 +359,8 @@ are added.
359
# fn foo() {}
360
```
361
362
-`edition2018` tells `rustdoc` that the code sample should be compiled using
363
-the 2018 edition of Rust. Similarly, you can specify `edition2015` to compile
364
-the code with the 2015 edition.
+`edition2015`, `edition2018` and `edition2021` tell `rustdoc`
+that the code sample should be compiled using the respective edition of Rust.
365
366
```rust
367
/// Only runs on the 2018 edition.
0 commit comments