chore: cargo fix

This commit is contained in:
Zixuan Chen 2022-10-14 01:53:25 +08:00
parent 9080e68c89
commit 76269a8ca7
6 changed files with 7 additions and 8 deletions

View file

@ -1,4 +1,4 @@
use fxhash::FxHashSet;
use rle::{HasLength, RleVec};
use crate::{

View file

@ -7,7 +7,7 @@ use rle::{
use crate::{id::ID, span::IdSpan};
use super::y_span::{Status, StatusChange, YSpan, YSpanTreeTrait};
use super::y_span::{StatusChange, YSpan, YSpanTreeTrait};
/// It stores all the [YSpan] data, including the deleted/undo ones
///

View file

@ -1,4 +1,4 @@
use std::thread::panicking;
use crate::{id::Counter, span::IdSpan, ContentType, InsertContent, ID};
use rle::{rle_tree::tree_trait::CumulateTreeTrait, HasLength, Mergable, Sliceable};

View file

@ -1,4 +1,4 @@
use std::{hash::Hash, marker::PhantomData, ops::Deref, ptr::NonNull};
use std::{hash::Hash, marker::PhantomData, ptr::NonNull};
use crdt_list::crdt::GetOp;

View file

@ -1,4 +1,4 @@
use std::marker::PhantomData;
use crate::Rle;

View file

@ -1,10 +1,9 @@
use num::Zero;
use proptest::prop_compose;
use rand::{rngs::StdRng, SeedableRng};
use crate::{
range_map::{RangeMap, WithStartEnd},
rle_trait::ZeroElement,
rle_tree::tree_trait::CumulateTreeTrait,
HasLength, Mergable, Sliceable,
};
@ -117,7 +116,7 @@ impl<T> Default for MyNonNull<T> {
impl<T> Clone for MyNonNull<T> {
fn clone(&self) -> Self {
Self(self.0.clone(), self.1.clone())
Self(self.0, self.1)
}
}