Skip to content

Commit

Permalink
doc: small fix for nightly in derivation snippet (#292688)
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-erd committed Mar 4, 2024
1 parent aa4c6bc commit 0bb74f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/languages-frameworks/rust.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,8 @@ with import <nixpkgs>
};
let
rustPlatform = makeRustPlatform {
cargo = rust-bin.stable.latest.minimal;
rustc = rust-bin.stable.latest.minimal;
cargo = rust-bin.selectLatestNightlyWith (toolchain: toolchain.default);
rustc = rust-bin.selectLatestNightlyWith (toolchain: toolchain.default);
};
in

Expand Down

0 comments on commit 0bb74f1

Please sign in to comment.