diff --git a/crates/editor/src/multi_buffer.rs b/crates/editor/src/multi_buffer.rs index 63c87d6606..309712432a 100644 --- a/crates/editor/src/multi_buffer.rs +++ b/crates/editor/src/multi_buffer.rs @@ -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, last_version: clock::Global,