chore: cargo clippy

This commit is contained in:
amizing25
2025-01-24 18:35:17 +07:00
parent 3389799c26
commit 71ad8e9691
4 changed files with 25 additions and 9 deletions
+1 -1
View File
@@ -492,7 +492,7 @@ impl<Output> Kcp<Output> {
let count = if buf.len() <= self.mss {
1
} else {
(buf.len() + self.mss - 1) / self.mss
buf.len().div_ceil(self.mss)
};
if count >= KCP_WND_RCV as usize {