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 f419355 commit 347fa09Copy full SHA for 347fa09
crates/build-rs/src/allow_use.rs
@@ -25,7 +25,7 @@ fn cargo_version_minor() -> u32 {
25
// > cargo -V # example output
26
// cargo 1.82.0 (8f40fc59f 2024-08-21)
27
28
- String::from_utf8(out.stdout).expect("`cargo -V` should output valid UTF-8")
+ std::str::from_utf8(&out.stdout).expect("`cargo -V` should output valid UTF-8")
29
["cargo 1.".len()..]
30
.split('.')
31
.next()
0 commit comments