We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04e34b5 commit e25eebdCopy full SHA for e25eebd
src/write.rs
@@ -280,7 +280,7 @@ where
280
// we need to sort the indices so that, later, we can make sure to swap remove from last to
281
// first (and so not accidentally remove the wrong index).
282
let mut to_remove = indices.clone().into_vec();
283
- to_remove.sort();
+ to_remove.sort_unstable();
284
self.add_op(Operation::EmptyAt(to_remove));
285
286
indices.into_iter().map(move |i| {
0 commit comments