aboutsummaryrefslogtreecommitdiff
path: root/src/data.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-17 18:27:29 +0200
committerAlex Auvolat <alex@adnab.me>2020-04-17 18:27:29 +0200
commitb780f6485ddf385b584f02b3b17b859b6c432eb9 (patch)
treea0aa4de5b5d1cc6d8c6ad2c13aba26f0f693fa2e /src/data.rs
parent69f1d8fef23149e45189c296e0c0d23e040cbb0e (diff)
downloadgarage-b780f6485ddf385b584f02b3b17b859b6c432eb9.tar.gz
garage-b780f6485ddf385b584f02b3b17b859b6c432eb9.zip
Make sync send data both ways
Diffstat (limited to 'src/data.rs')
-rw-r--r--src/data.rs2
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]))
}
}