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:
d642040
)
bundles: Add a bound on b_file for debug convenience
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 2 May 2021 00:31:50 +0000
(
01:31
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 2 May 2021 00:31:50 +0000
(
01:31
+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 f7d7a1c66803644b718da8ddfad5f8139ef9b82b..19cb5ae50cead4750a44d63f0f8e19d06ead5417 100644
(file)
--- a/
src/bundles.rs
+++ b/
src/bundles.rs
@@
-55,7
+55,7
@@
pub fn b_dir(instance: &InstanceName) -> String {
savefilename(instance, "b-", "")
}
fn b_file<S>(instance: &InstanceName, index: Index, suffix: S) -> String
-where S: Display
+where S: Display
+ Debug
{
format!("{}/{:05}.{}",
savefilename(instance, "b-", ""),