aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 18ce199..15ca6d5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -198,10 +198,7 @@ fn fetch_source(url: &str) -> io::Result<proto::Source> {
if !out.status.success() {
let msg = String::from_utf8_lossy(&out.stderr);
let msg = msg.replace('\n', "; ");
- return Err(io::Error::new(
- io::ErrorKind::Other,
- msg,
- ));
+ return Err(io::Error::new(io::ErrorKind::Other, msg));
}
let mut de = serde_json::Deserializer::from_slice(&out.stdout);