mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-22 12:57:20 +00:00
chore: fix warning - rm a redundant field
This commit is contained in:
parent
ea5f91f6a6
commit
5f70310681
1 changed files with 0 additions and 4 deletions
|
@ -241,7 +241,6 @@ trait HistoryCacheTrait {
|
|||
#[derive(Debug, Clone)]
|
||||
pub(crate) struct GroupedMapOpInfo<T = Option<LoroValue>> {
|
||||
pub(crate) value: T,
|
||||
pub(crate) counter: Counter,
|
||||
pub(crate) lamport: Lamport,
|
||||
pub(crate) peer: PeerID,
|
||||
}
|
||||
|
@ -343,7 +342,6 @@ impl MapHistoryCache {
|
|||
self.keys.get_value(entry.key as usize).unwrap().clone(),
|
||||
GroupedMapOpInfo {
|
||||
value: map.value.clone(),
|
||||
counter: id.counter,
|
||||
lamport: entry.lamport,
|
||||
peer: entry.peer,
|
||||
},
|
||||
|
@ -477,7 +475,6 @@ impl MovableListHistoryCache {
|
|||
.unwrap();
|
||||
Some(GroupedMapOpInfo {
|
||||
value,
|
||||
counter: id.counter,
|
||||
lamport: key.lamport,
|
||||
peer: id.peer,
|
||||
})
|
||||
|
@ -496,7 +493,6 @@ impl MovableListHistoryCache {
|
|||
InnerContent::List(InnerListOp::Set { value, .. }) => {
|
||||
Some(GroupedMapOpInfo {
|
||||
value: value.clone(),
|
||||
counter: id.counter,
|
||||
lamport,
|
||||
peer: id.peer,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue