mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Align naming
This commit is contained in:
parent
8617fe641d
commit
9bf2cd609c
3 changed files with 5 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue