From f67ee69777e53ca1121e6aa461ecf84a3c01e139 Mon Sep 17 00:00:00 2001 From: TomasKralCZ Date: Sun, 19 Jan 2020 18:55:56 +0100 Subject: added eq_token() method to LetStmt --- crates/ra_assists/src/assists/add_explicit_type.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/ra_assists/src/assists') diff --git a/crates/ra_assists/src/assists/add_explicit_type.rs b/crates/ra_assists/src/assists/add_explicit_type.rs index 713abf910..38a351a54 100644 --- a/crates/ra_assists/src/assists/add_explicit_type.rs +++ b/crates/ra_assists/src/assists/add_explicit_type.rs @@ -1,7 +1,6 @@ use hir::{db::HirDatabase, HirDisplay}; use ra_syntax::{ ast::{self, AstNode, LetStmt, NameOwner}, - SyntaxKind::EQ, TextRange, T, }; @@ -37,7 +36,7 @@ pub(crate) fn add_explicit_type(ctx: AssistCtx) -> Option