Use 2021 edition for example code playground link

The playground defaults to 2015. Might as well use the latest edition.
This commit is contained in:
Noah Lev 2024-05-29 11:44:57 -07:00 committed by nora
parent 25ad416da4
commit f09dd295ae
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ show you the MIR for your program. Try putting this program into play
(or [clicking on this link][sample-play]), and then clicking the "MIR"
button on the top:
[sample-play]: https://play.rust-lang.org/?gist=30074856e62e74e91f06abd19bd72ece&version=stable
[sample-play]: https://play.rust-lang.org/?gist=30074856e62e74e91f06abd19bd72ece&version=stable&edition=2021
```rust
fn main() {