mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-11 22:58:23 +00:00
fix: cap
This commit is contained in:
parent
5a225e1da0
commit
65465774ef
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
fn convert_encoded_to_changes(changes: EncodedClientChanges) -> Vec<Change<RemoteOp>> {
|
fn convert_encoded_to_changes(changes: EncodedClientChanges) -> Vec<Change<RemoteOp>> {
|
||||||
let mut result = Vec::with_capacity(changes.data.len() + 1);
|
let mut result = Vec::with_capacity(changes.data.len());
|
||||||
let mut last_lamport = changes.meta.lamport;
|
let mut last_lamport = changes.meta.lamport;
|
||||||
let mut last_timestamp = changes.meta.timestamp;
|
let mut last_timestamp = changes.meta.timestamp;
|
||||||
let mut counter: Counter = changes.meta.counter;
|
let mut counter: Counter = changes.meta.counter;
|
||||||
|
|
Loading…
Reference in a new issue