Skip to content

Commit

Permalink
Remove useless map_err
Browse files Browse the repository at this point in the history
  • Loading branch information
kurotych committed Feb 5, 2024
1 parent 02de724 commit 0bb742a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ed25519/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ impl TryFrom<&[u8]> for Signature {
type Error = Error;

fn try_from(input: &[u8]) -> Result<Self> {
Signature::from_bytes(input).map_err(Error::from)
Signature::from_bytes(input)
}
}

Expand Down

0 comments on commit 0bb742a

Please sign in to comment.