From 06d2cdc20d1429e4bc5ff8e211f2aac746984148 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 22 Dec 2021 13:22:24 -0800 Subject: [PATCH] Remove unused multi_buffer::FromAnchor trait --- crates/editor/src/multi_buffer.rs | 4 ---- 1 file changed, 4 deletions(-) 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,