From a3f50462d79974018a029430a011dda39c3eabe4 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Thu, 30 Nov 2023 15:17:30 +0100 Subject: [PATCH] address PR comments --- crates/re_log_types/src/vec_deque_ext.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/re_log_types/src/vec_deque_ext.rs b/crates/re_log_types/src/vec_deque_ext.rs index b62f54c41f0ff..5b0ef51ab1159 100644 --- a/crates/re_log_types/src/vec_deque_ext.rs +++ b/crates/re_log_types/src/vec_deque_ext.rs @@ -62,8 +62,6 @@ fn is_sorted() { v.rotate_left(1); assert!(v.is_sorted()); - assert!(v.is_sorted()); // ! - v.extend([7, 6, 5]); assert!(!v.is_sorted()); @@ -79,7 +77,7 @@ pub trait VecDequeRemovalExt { /// whichever end element that this is closer to the removal point. /// /// If `index` points to the front or back of the queue, the removal is guaranteed to preserve - /// ordering; otherwise it doesn not. + /// ordering; otherwise it doesn't. /// In either case, this is *O*(1). /// /// Returns `None` if `index` is out of bounds.