Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 15a740f

Browse files
authored
Merge pull request #980 from aman2909verma/master
fix clippy warning
2 parents feb82b2 + 2ac64fd commit 15a740f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ impl ICE {
4343
.unwrap();
4444
// Some files have names like 123-1.rs; only get the first part of it
4545
let s = s.split('-').next().unwrap();
46-
let id = s.parse().unwrap();
47-
id
46+
s.parse().unwrap()
4847
}
4948

5049
fn test(self) -> Result<TestResult> {

0 commit comments

Comments
 (0)