mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-23 13:39:12 +00:00
chore: rm needless type annotation
This commit is contained in:
parent
0fff16faf3
commit
33edd89e6e
1 changed files with 1 additions and 4 deletions
|
@ -40,9 +40,8 @@ struct ChangeEncoding {
|
||||||
lamport: Lamport,
|
lamport: Lamport,
|
||||||
#[columnar(strategy = "DeltaRle", original_type = "i64")]
|
#[columnar(strategy = "DeltaRle", original_type = "i64")]
|
||||||
timestamp: Timestamp,
|
timestamp: Timestamp,
|
||||||
#[columnar(original_type = "u32")]
|
|
||||||
op_len: u32,
|
op_len: u32,
|
||||||
#[columnar(strategy = "Rle", original_type = "u32")]
|
#[columnar(strategy = "Rle")]
|
||||||
deps_len: u32,
|
deps_len: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,9 +51,7 @@ struct OpEncoding {
|
||||||
#[columnar(strategy = "Rle", original_type = "u32")]
|
#[columnar(strategy = "Rle", original_type = "u32")]
|
||||||
container: ContainerIdx,
|
container: ContainerIdx,
|
||||||
/// key index or insert/delete pos
|
/// key index or insert/delete pos
|
||||||
#[columnar(strategy = "DeltaRle", original_type = "u32")]
|
|
||||||
prop: usize,
|
prop: usize,
|
||||||
#[columnar(strategy = "Rle", original_type = "u32")]
|
|
||||||
// TODO: can be compressed
|
// TODO: can be compressed
|
||||||
gc: usize,
|
gc: usize,
|
||||||
value: LoroValue,
|
value: LoroValue,
|
||||||
|
|
Loading…
Reference in a new issue