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
|
@ -101,6 +101,12 @@ pub enum Bias {
|
|||
Right,
|
||||
}
|
||||
|
||||
impl Default for Bias {
|
||||
fn default() -> Self {
|
||||
Bias::Left
|
||||
}
|
||||
}
|
||||
|
||||
impl PartialOrd for Bias {
|
||||
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
|
||||
Some(self.cmp(other))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue