Skip to content

Commit

Permalink
docs(deque): clarify .truncate()'s behavior when len < 0 (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l authored Jan 16, 2025
1 parent a2cc264 commit 31a207a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deque/deque.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ pub fn shrink_to_fit[A](self : T[A]) -> Unit {
/// the rest.
///
/// If `len` is greater than or equal to the deque's current length, this has no
/// effect.
/// effect; if `len` is negative, the function will panic.
///
/// Parameters:
///
Expand Down

0 comments on commit 31a207a

Please sign in to comment.