mirror of
https://github.com/loro-dev/loro.git
synced 2024-11-28 17:41:49 +00:00
chore: cargo fix
This commit is contained in:
parent
9080e68c89
commit
76269a8ca7
6 changed files with 7 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
use fxhash::FxHashSet;
|
||||
|
||||
use rle::{HasLength, RleVec};
|
||||
|
||||
use crate::{
|
||||
|
|
|
@ -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
|
||||
///
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use std::marker::PhantomData;
|
||||
|
||||
|
||||
use crate::Rle;
|
||||
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue