diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-17 18:27:29 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-17 18:27:29 +0200 |
commit | b780f6485ddf385b584f02b3b17b859b6c432eb9 (patch) | |
tree | a0aa4de5b5d1cc6d8c6ad2c13aba26f0f693fa2e /src/data.rs | |
parent | 69f1d8fef23149e45189c296e0c0d23e040cbb0e (diff) | |
download | garage-b780f6485ddf385b584f02b3b17b859b6c432eb9.tar.gz garage-b780f6485ddf385b584f02b3b17b859b6c432eb9.zip |
Make sync send data both ways
Diffstat (limited to 'src/data.rs')
-rw-r--r-- | src/data.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.rs b/src/data.rs index c1665d2a..a3b7b23b 100644 --- a/src/data.rs +++ b/src/data.rs @@ -25,7 +25,7 @@ impl Eq for FixedBytes32 {} impl fmt::Debug for FixedBytes32 { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "{}", hex::encode(self.0)) + write!(f, "{}…", hex::encode(&self.0[..8])) } } |