Move cloneable diff state into new snapshot type
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
a86e93d46f
commit
61ff24edc8
4 changed files with 140 additions and 53 deletions
|
@ -4,7 +4,7 @@ use anyhow::Result;
|
|||
use std::{cmp::Ordering, fmt::Debug, ops::Range};
|
||||
use sum_tree::Bias;
|
||||
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Debug, Hash)]
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Debug, Hash, Default)]
|
||||
pub struct Anchor {
|
||||
pub timestamp: clock::Local,
|
||||
pub offset: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue