diff options
| author | tv <tv@krebsco.de> | 2026-10-31 05:22:02 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 05:22:02 +0100 |
| commit | 27df21d3eadd6c28b7775e5b1a0a57e89b6b1d8b (patch) | |
| tree | 13a79aeaeebeea21afd0b2bb3dd85866915ac3ab /src/swarm/auth.rs | |
| parent | 76e91dfc62bc76228df8c07abf6e012e777c4eca (diff) | |
unify hex builders
Diffstat (limited to 'src/swarm/auth.rs')
| -rw-r--r-- | src/swarm/auth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swarm/auth.rs b/src/swarm/auth.rs index 088f615..50e2fae 100644 --- a/src/swarm/auth.rs +++ b/src/swarm/auth.rs @@ -172,7 +172,7 @@ mod tests { use super::*; fn hex(bytes: &[u8]) -> String { - bytes.iter().map(|byte| format!("{byte:02x}")).collect() + crate::transport::Hex(bytes).to_string() } #[test] |
