Remove unused multi_buffer::FromAnchor trait

This commit is contained in:
Max Brunsfeld 2021-12-22 13:22:24 -08:00
parent 0faf5308ac
commit 06d2cdc20d

View file

@ -64,10 +64,6 @@ pub trait ToPoint: 'static + fmt::Debug {
fn to_point(&self, snapshot: &MultiBufferSnapshot) -> Point;
}
pub trait FromAnchor: 'static {
fn from_anchor(anchor: &Anchor, snapshot: &MultiBufferSnapshot) -> Self;
}
struct BufferState {
buffer: ModelHandle<Buffer>,
last_version: clock::Global,