We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87afccd commit 92b2ba4Copy full SHA for 92b2ba4
tests/suite/cli_rustup.rs
@@ -3092,11 +3092,7 @@ override nightly-[HOST_TRIPLE]
3092
async fn rustup_toolchain_source_config() {
3093
let cx = CliTestContext::new(Scenario::SimpleV2).await;
3094
let toolchain_file = cx.config.current_dir().join("rust-toolchain.toml");
3095
- raw::write_file(
3096
- &toolchain_file,
3097
- &"[toolchain]\nchannel='nightly'".to_string(),
3098
- )
3099
- .unwrap();
+ raw::write_file(&toolchain_file, "[toolchain]\nchannel='nightly'").unwrap();
3100
cx.config
3101
.expect(["cargo", "--echo-rustup-toolchain-source"])
3102
.await
0 commit comments