Skip to content

Commit 92b2ba4

Browse files
committed
Make Clippy even happier
1 parent 87afccd commit 92b2ba4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/suite/cli_rustup.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3092,11 +3092,7 @@ override nightly-[HOST_TRIPLE]
30923092
async fn rustup_toolchain_source_config() {
30933093
let cx = CliTestContext::new(Scenario::SimpleV2).await;
30943094
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();
3095+
raw::write_file(&toolchain_file, "[toolchain]\nchannel='nightly'").unwrap();
31003096
cx.config
31013097
.expect(["cargo", "--echo-rustup-toolchain-source"])
31023098
.await

0 commit comments

Comments
 (0)