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 | 542586a58039aca1517d06c553accfec4e090b3c (patch) | |
| tree | 9dcf4d38ee15252ada165a0e0de590dbe759a0d1 /src/document | |
| parent | 6e5c2483e4df40fb0485237cce8d9f8204bad50a (diff) | |
unify hex builders
Diffstat (limited to 'src/document')
| -rw-r--r-- | src/document/replica.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document/replica.rs b/src/document/replica.rs index c8f648b..8640c7e 100644 --- a/src/document/replica.rs +++ b/src/document/replica.rs @@ -55,7 +55,7 @@ impl Epoch { } pub(crate) fn id_hex(&self) -> String { - self.id.iter().map(|byte| format!("{byte:02x}")).collect() + crate::transport::Hex(&self.id).to_string() } } |
