diff --git a/src/main.rs b/src/main.rs index e719c0e..dfd006f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -399,8 +399,7 @@ impl LanguageServer for Backend { { let mut document = self .document_map - .try_get_mut(params.text_document.uri.path()) - .expect(format_loc!("deadlock")) + .get_mut(params.text_document.uri.path()) .expect("Did not build a document"); old_rope = document.rope.clone(); // Update the rope