Skip to content

Commit

Permalink
address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Nov 30, 2023
1 parent ac19842 commit a3f5046
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/re_log_types/src/vec_deque_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand All @@ -79,7 +77,7 @@ pub trait VecDequeRemovalExt<T> {
/// 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.
Expand Down

0 comments on commit a3f5046

Please sign in to comment.