This commit is contained in:
Eugene P
2019-01-10 12:30:21 +03:00
parent 29fc3e61de
commit b4e4992a5c
+1 -5
View File
@@ -54,11 +54,7 @@ impl fmt::Display for Hash {
let starting = &hash_hex[..NUM_SHOW];
let ending = &hash_hex[(len - NUM_SHOW)..];
write!(f,
"{}...{}",
starting,
ending
)
write!(f, "{}...{}", starting, ending)
}
}