Skip to content

Commit

Permalink
chore: Add minor note to limits_mut
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Dec 4, 2023
1 parent 158c53f commit d90ca14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misc/connection-limits/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d90ca14

Please sign in to comment.