Silence warnings

Max Brunsfeld created

Change summary

crates/editor/src/display_map/wrap_map.rs | 4 ----
crates/lsp/src/lsp.rs                     | 3 +--
2 files changed, 1 insertion(+), 6 deletions(-)

Detailed changes

crates/editor/src/display_map/wrap_map.rs 🔗

@@ -951,10 +951,6 @@ impl WrapPoint {
     pub fn column_mut(&mut self) -> &mut u32 {
         &mut self.0.column
     }
-
-    pub fn is_zero(&self) -> bool {
-        self.0.is_zero()
-    }
 }
 
 impl sum_tree::Summary for TransformSummary {

crates/lsp/src/lsp.rs 🔗

@@ -14,7 +14,6 @@ use std::{
     collections::HashMap,
     future::Future,
     io::Write,
-    rc::Rc,
     str::FromStr,
     sync::{
         atomic::{AtomicUsize, Ordering::SeqCst},
@@ -473,7 +472,7 @@ pub struct FakeLanguageServer {
     buffer: Vec<u8>,
     stdin: smol::io::BufReader<async_pipe::PipeReader>,
     stdout: smol::io::BufWriter<async_pipe::PipeWriter>,
-    executor: Rc<executor::Foreground>,
+    executor: std::rc::Rc<executor::Foreground>,
     pub started: Arc<std::sync::atomic::AtomicBool>,
 }