Skip to content

Commit

Permalink
fix small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oslfmt committed Aug 16, 2023
1 parent c790174 commit 77a49f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wire/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ impl<T: AsRef<[u8]> + AsMut<[u8]>> Packet<T> {
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();
Expand Down

0 comments on commit 77a49f6

Please sign in to comment.