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:
0ef67c0
)
otter cli: Drop a rogue dbg!
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 26 Mar 2021 19:03:25 +0000
(19:03 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 26 Mar 2021 19:03:52 +0000
(19:03 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/otter.rs
patch
|
blob
|
history
diff --git
a/src/bin/otter.rs
b/src/bin/otter.rs
index 304456d44af4ae9ee5caee1e0eed09057a938e4a..a161634ba2bea97bb023b0e87f2deaf731171698 100644
(file)
--- a/
src/bin/otter.rs
+++ b/
src/bin/otter.rs
@@
-565,7
+565,6
@@
fn read_spec<T: DeserializeOwned + SomeSpec>
let mut buf = String::new();
f.read_to_string(&mut buf).context("read")?;
let tv: toml::Value = buf.parse().context("parse TOML")?;
- dbgc!(&tv);
let spec: T = toml_de::from_value(&tv).context("parse value")?;
Ok::<_,AE>(spec)
})().with_context(|| format!("read {} {:?}", T::WHAT, &filename))?