Skip to content

Commit

Permalink
Fix FeltVisitor expecting message
Browse files Browse the repository at this point in the history
  • Loading branch information
FabijanC committed Jul 17, 2024
1 parent a6bcf4a commit 1b1c7ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/starknet-types-core/src/felt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ mod serde_impl {
type Value = Felt;

fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
formatter.write_str("Failed to deserialize hexadecimal string")
formatter.write_str("a felt hexadecimal string")
}

fn visit_str<E>(self, value: &str) -> Result<Self::Value, E>
Expand Down

0 comments on commit 1b1c7ad

Please sign in to comment.