From 9bf2cd609c772a4ddccd7af67e8da9a3cb6e110f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 24 Mar 2020 12:56:07 +0100 Subject: Align naming --- crates/ra_ide/src/completion/complete_trait_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_ide') diff --git a/crates/ra_ide/src/completion/complete_trait_impl.rs b/crates/ra_ide/src/completion/complete_trait_impl.rs index 7fefa2c7a..ded1ff3bc 100644 --- a/crates/ra_ide/src/completion/complete_trait_impl.rs +++ b/crates/ra_ide/src/completion/complete_trait_impl.rs @@ -193,7 +193,7 @@ fn add_const_impl( } fn make_const_compl_syntax(const_: &ast::ConstDef) -> String { - let const_ = edit::strip_attrs_and_docs(const_); + let const_ = edit::remove_attrs_and_docs(const_); let const_start = const_.syntax().text_range().start(); let const_end = const_.syntax().text_range().end(); -- cgit v1.2.3