We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07377c6 commit a21f010Copy full SHA for a21f010
quinn-proto/src/congestion/cubic.rs
@@ -180,6 +180,8 @@ impl Controller for Cubic {
180
self.recovery_start_time = Some(now);
181
182
// Fast convergence
183
+ #[allow(clippy::branches_sharing_code)]
184
+ // https://github.com/rust-lang/rust-clippy/issues/7198
185
if self.cubic_state.w_max < self.cubic_state.w_last_max {
186
self.cubic_state.w_last_max = self.cubic_state.w_max;
187
self.cubic_state.w_max = self.cubic_state.w_max as f64 * (1.0 + BETA_CUBIC) / 2.0;
0 commit comments