Skip to content

Commit

Permalink
Added missing core:: prefix to str::FromStr
Browse files Browse the repository at this point in the history
  • Loading branch information
Kixunil committed Aug 10, 2021
1 parent 26fcd93 commit 7eb1f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blockdata/transaction.rs
Expand Up @@ -672,7 +672,7 @@ impl fmt::Display for SigHashType {
}
}

impl str::FromStr for SigHashType {
impl core::str::FromStr for SigHashType {
type Err = String;

fn from_str(s: &str) -> Result<Self, Self::Err> {
Expand Down

0 comments on commit 7eb1f15

Please sign in to comment.