aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/rbw/sock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/rbw/sock.rs')
-rw-r--r--src/bin/rbw/sock.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/rbw/sock.rs b/src/bin/rbw/sock.rs
index f3fe365..1f5f0b2 100644
--- a/src/bin/rbw/sock.rs
+++ b/src/bin/rbw/sock.rs
@@ -34,7 +34,7 @@ impl Sock {
let mut line = String::new();
buf.read_line(&mut line)
.context("failed to read message from agent")?;
- Ok(serde_json::from_str(&line)
- .context("failed to parse message from agent")?)
+ serde_json::from_str(&line)
+ .context("failed to parse message from agent")
}
}