We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eea8a1c + 7fc03cf commit 10459d6Copy full SHA for 10459d6
1 file changed
src/cargo.rs
@@ -173,7 +173,7 @@ pub(crate) fn cargo_runner() -> Option<Vec<String>> {
173
CURRENT_TARGET.replace('-', "_").to_uppercase()
174
);
175
let runner = env::var(runner_env).ok()?;
176
- Some(runner.split(' ').map(str::to_string).collect())
+ Some(runner.split(' ').map(str::to_owned).collect())
177
}
178
179
/// Error when finding crate binary.
0 commit comments