diff options
Diffstat (limited to 'src/transport/wire.rs')
| -rw-r--r-- | src/transport/wire.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/wire.rs b/src/transport/wire.rs index 28bd431..00bc739 100644 --- a/src/transport/wire.rs +++ b/src/transport/wire.rs @@ -590,7 +590,7 @@ mod tests { } fn hex(bytes: &[u8]) -> String { - bytes.iter().map(|byte| format!("{byte:02x}")).collect() + crate::transport::Hex(bytes).to_string() } /// The exact bytes of a few messages. If this fails after a change to a message type |
