Skip to content

Commit d7e36c3

Browse files
committed
Removed docs from private method.
1 parent b4429a9 commit d7e36c3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crates/ra_ide/src/completion/complete_trait_impl.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,6 @@ fn add_const_impl(
125125
.add_to(acc);
126126
}
127127

128-
/// Using a `ConstDef` `SyntaxNode` to create a `String` that represents
129-
/// the output of the magic completion.
130-
///
131-
/// There isn't a whole lot of information about a `hir::Const` or
132-
/// `ast::ConstDef` to prove useful when creating the magic completion for the
133-
/// associated constant. This method simply copies the syntax tree of the
134-
/// target trait up until a `;` or `=` is found. From the sliced syntax tree
135-
/// it formulates the magic completion string.
136128
fn make_const_compl_syntax(const_: &ast::ConstDef) -> String {
137129
let const_ = edit::strip_attrs_and_docs(const_);
138130

0 commit comments

Comments
 (0)