Introduce MultiBuffer::symbols_containing

This commit is contained in:
Antonio Scandurra 2022-03-29 13:49:55 +02:00
parent bfa5dd52dd
commit 099250c691
2 changed files with 28 additions and 1 deletions

View file

@ -4,7 +4,7 @@ use anyhow::Result;
use std::{cmp::Ordering, fmt::Debug, ops::Range};
use sum_tree::Bias;
#[derive(Clone, Eq, PartialEq, Debug, Hash)]
#[derive(Copy, Clone, Eq, PartialEq, Debug, Hash)]
pub struct Anchor {
pub timestamp: clock::Local,
pub offset: usize,