chore: cargo clippy
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user