diff --git a/src/lib.rs b/src/lib.rs index e72d09a..52ef4ef 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -98,10 +98,7 @@ impl Sway { self.run("get_seats", IPC_GET_SEATS) } - fn run(&mut self, payload: &str, payload_type: u32) -> Result - where - T: DeserializeOwned, - { + fn run(&mut self, payload: &str, payload_type: u32) -> Result { let buffer = I3msg::new(payload, payload_type).construct_packet()?; self.stream.write_all(&buffer.as_slice())?;