diff --git a/crates/editor/src/multi_buffer.rs b/crates/editor/src/multi_buffer.rs index 63c87d6606563ae79f315e4348ac76166a7a9c5c..309712432a40e6c73cf9e576abff31a2378a4025 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,