doc: small fix for nightly in derivation snippet (#292688)

authored by Leon and committed by GitHub 0bb74f14 aa4c6bcd

+2 -2
+2 -2
doc/languages-frameworks/rust.section.md
··· 903 903 }; 904 904 let 905 905 rustPlatform = makeRustPlatform { 906 - cargo = rust-bin.stable.latest.minimal; 907 - rustc = rust-bin.stable.latest.minimal; 906 + cargo = rust-bin.selectLatestNightlyWith (toolchain: toolchain.default); 907 + rustc = rust-bin.selectLatestNightlyWith (toolchain: toolchain.default); 908 908 }; 909 909 in 910 910