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.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/rbw/sock.rs b/src/bin/rbw/sock.rs
index b3ff1d6..f3fe365 100644
--- a/src/bin/rbw/sock.rs
+++ b/src/bin/rbw/sock.rs
@@ -4,6 +4,8 @@ use std::io::{BufRead as _, Write as _};
pub struct Sock(std::os::unix::net::UnixStream);
impl Sock {
+ // not returning anyhow::Result here because we want to be able to handle
+ // specific kinds of std::io::Results differently
pub fn connect() -> std::io::Result<Self> {
Ok(Self(std::os::unix::net::UnixStream::connect(
rbw::dirs::socket_file(),