diff --git a/src/client.rs b/src/client.rs index 190a3a71..10f741a1 100644 --- a/src/client.rs +++ b/src/client.rs @@ -449,7 +449,7 @@ impl ControlChannel { let s = toml::to_string(&self.service).unwrap(); let buf = s.as_bytes(); conn.write_u32(buf.len() as u32).await?; - conn.write_all(&buf).await?; + conn.write_all(buf).await?; conn.flush().await?; } v => {