diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-04-17 21:06:47 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-04-17 21:06:47 -0400 |
commit | c627737dfa6a30b71e3f7c32cca05675cc7e9b97 (patch) | |
tree | be91d4c3e7fd45c387bdc7b7bf87a7d3068ed3d1 /src/bin/rbw/sock.rs | |
parent | 828e61a574f484aea575f3cd98322407d3f9aea5 (diff) | |
download | rbw-c627737dfa6a30b71e3f7c32cca05675cc7e9b97.tar.gz rbw-c627737dfa6a30b71e3f7c32cca05675cc7e9b97.zip |
clippy
Diffstat (limited to 'src/bin/rbw/sock.rs')
-rw-r--r-- | src/bin/rbw/sock.rs | 4 |
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") } } |