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 | 204a38965c2c2e360ebdfeb357c6cfce50a3654d (patch) | |
| tree | 6aa23e2f85d36b2b2b50f817a10301783f154041 /src/swarm/auth.rs | |
| parent | ba64c49fda6f2b4c9eb91eb3d311bdf9b9b98954 (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] |
