Skip to content

Commit

Permalink
Apply clippy suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Jan 18, 2021
1 parent 7421a8a commit 81f27ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl FromStr for LlvmVersion {
}

if let Some(Err(e)) = parts.next() {
return Err(e.into());
return Err(e);
}

if parts.next().is_some() {
Expand Down

0 comments on commit 81f27ac

Please sign in to comment.