Skip to content

Commit ac8339a

Browse files
authored
Merge pull request #2389 from CosmWasm/co/fix-typos
Fix typos
2 parents 64876bd + 91fb36e commit ac8339a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/std/src/binary.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl fmt::Display for Binary {
8080
impl fmt::Debug for Binary {
8181
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
8282
// Use an output inspired by tuples (https://doc.rust-lang.org/std/fmt/struct.Formatter.html#method.debug_tuple)
83-
// but with a custom implementation to avoid the need for an intemediate hex string.
83+
// but with a custom implementation to avoid the need for an intermediate hex string.
8484
write!(f, "Binary(")?;
8585
for byte in self.0.iter() {
8686
write!(f, "{byte:02x}")?;

packages/std/src/hex_binary.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl fmt::Display for HexBinary {
7171
impl fmt::Debug for HexBinary {
7272
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
7373
// Use an output inspired by tuples (https://doc.rust-lang.org/std/fmt/struct.Formatter.html#method.debug_tuple)
74-
// but with a custom implementation to avoid the need for an intemediate hex string.
74+
// but with a custom implementation to avoid the need for an intermediate hex string.
7575
write!(f, "HexBinary(")?;
7676
for byte in self.0.iter() {
7777
write!(f, "{byte:02x}")?;

0 commit comments

Comments
 (0)