Skip to content

Commit

Permalink
Use 2021 edition for example code playground link
Browse files Browse the repository at this point in the history
The playground defaults to 2015. Might as well use the latest edition.
  • Loading branch information
camelid authored and Noratrieb committed Sep 24, 2024
1 parent 23bf5ec commit 6977f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mir/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6977f20

Please sign in to comment.