Skip to content

Commit 1c066ca

Browse files
committed
Update playground link's edition to 2021
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
1 parent f98c591 commit 1c066ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/crate-sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class CrateSidebar extends Component {
3131
let playgroundCrate = playgroundCrates.find(it => it.name === this.args.crate.name);
3232
if (!playgroundCrate) return;
3333

34-
return `https://play.rust-lang.org/?edition=2018&code=use%20${playgroundCrate.id}%3B%0A%0Afn%20main()%20%7B%0A%20%20%20%20%2F%2F%20try%20using%20the%20%60${playgroundCrate.id}%60%20crate%20here%0A%7D`;
34+
return `https://play.rust-lang.org/?edition=2021&code=use%20${playgroundCrate.id}%3B%0A%0Afn%20main()%20%7B%0A%20%20%20%20%2F%2F%20try%20using%20the%20%60${playgroundCrate.id}%60%20crate%20here%0A%7D`;
3535
}
3636

3737
get canHover() {

0 commit comments

Comments
 (0)