Skip to content

Commit

Permalink
tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Dec 30, 2020
1 parent 7e12b58 commit 4ea278d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uint/src/uint.rs
Expand Up @@ -1688,7 +1688,7 @@ macro_rules! construct_uint {
type Err = $crate::FromHexError;

fn from_str(value: &str) -> $crate::core_::result::Result<$name, Self::Err> {
let value = value.strip_prefix("0x").unwrap_or(value);
let value = value.strip_prefix("0x").unwrap_or(value);
const BYTES_LEN: usize = $n_words * 8;
const MAX_ENCODED_LEN: usize = BYTES_LEN * 2;

Expand Down

0 comments on commit 4ea278d

Please sign in to comment.