diff --git a/src/wire/tcp.rs b/src/wire/tcp.rs index 060f95891..24821430a 100644 --- a/src/wire/tcp.rs +++ b/src/wire/tcp.rs @@ -553,7 +553,7 @@ impl + AsMut<[u8]>> Packet { NetworkEndian::write_u16(&mut data[field::FLAGS], raw) } - /// Return the window size field. + /// Set the window size field. #[inline] pub fn set_window_len(&mut self, value: u16) { let data = self.buffer.as_mut();