diff options
author | Hristo Venev <hristo@venev.name> | 2019-03-19 17:46:48 +0200 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2019-03-19 17:47:02 +0200 |
commit | 51c9e1433bf139759a41173aa63fa40855a10fac (patch) | |
tree | 5e7094a6eeaa5853717f6dbd3b57880aa28574c9 /src/main.rs | |
parent | b7632fb35571f63fe28368c6508aa67fe8d775c8 (diff) |
lintv0.1.0
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
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); |