chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a989be
)
bundles: Display hashes more nicely
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 20 May 2021 11:06:38 +0000
(12:06 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 20 May 2021 11:06:38 +0000
(12:06 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bundles.rs
patch
|
blob
|
history
diff --git
a/src/bundles.rs
b/src/bundles.rs
index 4f793c67186af9579f0d3f4fe12052f8070b9c31..cda5f6bea7c55580696bde86721f4088d2530154 100644
(file)
--- a/
src/bundles.rs
+++ b/
src/bundles.rs
@@
-307,7
+307,7
@@
impl Display for State {
match self {
State::Loaded(Loaded{ meta, size, hash }) => {
let BundleMeta { title } = meta;
- write!(f, "Loaded {:
?} {:10} {}", title, size, hash
)?;
+ write!(f, "Loaded {:
10} {} {:?}", size, hash, title
)?;
}
other => write!(f, "{:?}", other)?,
}