Skip to content

Commit a5b8787

Browse files
committed
ctest: Add generation, compilation, and running of tests for constants.
1 parent f84df49 commit a5b8787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ctest-next/src/rustc_queries.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub fn rustc_version() -> Result<RustcVersion> {
5050
.unwrap()
5151
.split('.')
5252
.take(3)
53-
.map(|s| s.parse::<u8>())
53+
.map(|s| s.trim().parse::<u8>())
5454
.collect::<Result<Vec<u8>, ParseIntError>>()?
5555
.try_into()
5656
.unwrap();

0 commit comments

Comments
 (0)