aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r--crates/libeditor/src/typing.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/libeditor/src/typing.rs b/crates/libeditor/src/typing.rs
index 48a8d6bb0..2cff96b34 100644
--- a/crates/libeditor/src/typing.rs
+++ b/crates/libeditor/src/typing.rs
@@ -66,6 +66,8 @@ pub fn on_eq_typed(file: &File, offset: TextUnit) -> Option<ActionResult> {
66 if contains_offset_nonstrict(expr_range, offset) && offset != expr_range.start() { 66 if contains_offset_nonstrict(expr_range, offset) && offset != expr_range.start() {
67 return None; 67 return None;
68 } 68 }
69 } else {
70 return None;
69 } 71 }
70 let offset = let_stmt.syntax().range().end(); 72 let offset = let_stmt.syntax().range().end();
71 let mut edit = EditBuilder::new(); 73 let mut edit = EditBuilder::new();