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 f84df49 commit a5b8787Copy full SHA for a5b8787
ctest-next/src/rustc_queries.rs
@@ -50,7 +50,7 @@ pub fn rustc_version() -> Result<RustcVersion> {
50
.unwrap()
51
.split('.')
52
.take(3)
53
- .map(|s| s.parse::<u8>())
+ .map(|s| s.trim().parse::<u8>())
54
.collect::<Result<Vec<u8>, ParseIntError>>()?
55
.try_into()
56
.unwrap();
0 commit comments