Skip to content

Commit 7fc03cf

Browse files
committed
style: Make clippy happy
1 parent eea8a1c commit 7fc03cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cargo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pub(crate) fn cargo_runner() -> Option<Vec<String>> {
173173
CURRENT_TARGET.replace('-', "_").to_uppercase()
174174
);
175175
let runner = env::var(runner_env).ok()?;
176-
Some(runner.split(' ').map(str::to_string).collect())
176+
Some(runner.split(' ').map(str::to_owned).collect())
177177
}
178178

179179
/// Error when finding crate binary.

0 commit comments

Comments
 (0)