Skip to content

Commit

Permalink
Merge pull request #831 from oslfmt/main
Browse files Browse the repository at this point in the history
fix small typo
  • Loading branch information
Dirbaio authored Aug 16, 2023
2 parents c790174 + 77a49f6 commit d3cea95
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 d3cea95

Please sign in to comment.