diff --git a/misc/connection-limits/src/lib.rs b/misc/connection-limits/src/lib.rs index 7d8afcaacbd..dbe68a8ad11 100644 --- a/misc/connection-limits/src/lib.rs +++ b/misc/connection-limits/src/lib.rs @@ -81,6 +81,7 @@ impl Behaviour { } /// Returns a mutable reference to [`ConnectionLimits`]. + /// > **Note**: A new limit will not be enforced against existing connections. pub fn limits_mut(&mut self) -> &mut ConnectionLimits { &mut self.limits }