mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-06 12:25:03 +00:00
chore: cargo fix
This commit is contained in:
parent
d3a0d10b12
commit
94b9e95fc1
5 changed files with 4 additions and 6 deletions
|
@ -336,7 +336,7 @@ impl Container for TextContainer {
|
|||
&mut self,
|
||||
_: &mut Hierarchy,
|
||||
rich_op: &RichOp,
|
||||
import_context: &mut ImportContext,
|
||||
_import_context: &mut ImportContext,
|
||||
) {
|
||||
self.tracker.track_apply(rich_op);
|
||||
}
|
||||
|
|
|
@ -40,7 +40,6 @@ pub(crate) use op::{ContentType, InsertContentTrait, Op};
|
|||
// TODO: rename as Key?
|
||||
pub(crate) type InternalString = DefaultAtom;
|
||||
pub(crate) use container::Container;
|
||||
pub(crate) use log_store::ImportContext;
|
||||
|
||||
pub use container::{list::List, map::Map, text::Text, ContainerType};
|
||||
pub use log_store::LogStore;
|
||||
|
|
|
@ -109,7 +109,7 @@ impl LogStore {
|
|||
for span in diff.left.iter() {
|
||||
let changes = self.get_changes_slice(span.id_span());
|
||||
for change in changes.iter() {
|
||||
let vec = ans.entry(change.id.client_id).or_insert_with(|| Vec::new());
|
||||
let vec = ans.entry(change.id.client_id).or_insert_with(Vec::new);
|
||||
vec.push(self.change_to_export_format(change));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,10 +2,10 @@ use std::sync::{Arc, RwLock};
|
|||
|
||||
use crate::LoroValue;
|
||||
use fxhash::FxHashMap;
|
||||
use rle::RleVecWithIndex;
|
||||
|
||||
|
||||
use crate::{
|
||||
change::{Change, ChangeMergeCfg},
|
||||
change::{Change},
|
||||
configure::Configure,
|
||||
container::{list::List, map::Map, text::Text, ContainerIdRaw, ContainerType},
|
||||
event::{Observer, SubscriptionID},
|
||||
|
|
|
@ -6,7 +6,6 @@ use serde::{de::VariantAccess, ser::SerializeStruct, Deserialize, Serialize};
|
|||
|
||||
use crate::{
|
||||
container::{registry::ContainerRegistry, ContainerID},
|
||||
context::Context,
|
||||
delta::DeltaItem,
|
||||
event::{Diff, Index, Path},
|
||||
Container,
|
||||
|
|
Loading…
Reference in a new issue