From a50391970ae7b5d8e06f4cdf29f43bfae6133eaa Mon Sep 17 00:00:00 2001 From: Alexey Galakhov Date: Sat, 23 Sep 2023 00:39:39 +0200 Subject: [PATCH] Trivial update src/handshake/machine.rs Comment rewording. Co-authored-by: Daniel Abramov --- src/handshake/machine.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handshake/machine.rs b/src/handshake/machine.rs index c7fd886a..e537cfd2 100644 --- a/src/handshake/machine.rs +++ b/src/handshake/machine.rs @@ -149,8 +149,8 @@ impl AttackCheck { AttackCheck { number_of_packets: 0, number_of_bytes: 0 } } - /// Check size of incoming packet. To be called immediately after `read()` - /// passing its return bytes count as `size`. + /// Check the size of an incoming packet. To be called immediately after `read()` + /// passing its returned bytes count as `size`. fn check_incoming_packet_size(&mut self, size: usize) -> Result<()> { self.number_of_packets += 1; self.number_of_bytes += size;