add edition2021 as an option
This commit is contained in:
parent
b87c231fc3
commit
c06f450e7d
|
@ -63,8 +63,8 @@ Options for the Rust language, relevant to running tests and playground
|
||||||
integration.
|
integration.
|
||||||
|
|
||||||
- **edition**: Rust edition to use by default for the code snippets. Default
|
- **edition**: Rust edition to use by default for the code snippets. Default
|
||||||
is "2015". Individual code blocks can be controlled with the `edition2015`
|
is "2015". Individual code blocks can be controlled with the `edition2015`,
|
||||||
or `edition2018` annotations, such as:
|
`edition2018` or `edition2021` annotations, such as:
|
||||||
|
|
||||||
~~~text
|
~~~text
|
||||||
```rust,edition2015
|
```rust,edition2015
|
||||||
|
|
Loading…
Reference in New Issue