From cfaaf33069079ebd2627098aee09bd8ac76f9bd8 Mon Sep 17 00:00:00 2001 From: Simon Vandel Sillesen Date: Sun, 6 Jan 2019 07:56:02 +0100 Subject: rename unused variable --- crates/ra_editor/src/typing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 pub fn on_dot_typed(file: &SourceFileNode, offset: TextUnit) -> Option { let before_dot_offset = offset - TextUnit::of_char('.'); - let whitespace = find_leaf_at_offset(file.syntax(), before_dot_offset) + let _whitespace = find_leaf_at_offset(file.syntax(), before_dot_offset) .left_biased() .and_then(ast::Whitespace::cast)?; -- cgit v1.2.3