aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorSimon Vandel Sillesen <[email protected]>2019-01-06 06:56:02 +0000
committerSimon Vandel Sillesen <[email protected]>2019-01-06 06:56:02 +0000
commitcfaaf33069079ebd2627098aee09bd8ac76f9bd8 (patch)
treeb6a00d2999ea1cebd51327ecafb8842b87aca8f7 /crates
parentf99398d9d5e47e28f3749c7903df67b9030ac6e0 (diff)
rename unused variable
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_editor/src/typing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_editor/src/typing.rs b/crates/ra_editor/src/typing.rs
index aaea858ea..9742a10cf 100644
--- a/crates/ra_editor/src/typing.rs
+++ b/crates/ra_editor/src/typing.rs
@@ -139,7 +139,7 @@ pub fn on_eq_typed(file: &SourceFileNode, offset: TextUnit) -> Option<LocalEdit>
139pub fn on_dot_typed(file: &SourceFileNode, offset: TextUnit) -> Option<LocalEdit> { 139pub fn on_dot_typed(file: &SourceFileNode, offset: TextUnit) -> Option<LocalEdit> {
140 let before_dot_offset = offset - TextUnit::of_char('.'); 140 let before_dot_offset = offset - TextUnit::of_char('.');
141 141
142 let whitespace = find_leaf_at_offset(file.syntax(), before_dot_offset) 142 let _whitespace = find_leaf_at_offset(file.syntax(), before_dot_offset)
143 .left_biased() 143 .left_biased()
144 .and_then(ast::Whitespace::cast)?; 144 .and_then(ast::Whitespace::cast)?;
145 145