Skip to content

Commit e664cd7

Browse files
committed
Removed doc comments entirely from the changes.
1 parent 3aaf46a commit e664cd7

File tree

2 files changed

+0
-41
lines changed

2 files changed

+0
-41
lines changed

crates/ra_assists/src/utils.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ use hir::db::HirDatabase;
99

1010
use rustc_hash::FxHashSet;
1111

12-
/// Generate a collection of associated items that are missing from a
13-
/// `impl Trait for` block.
1412
pub fn get_missing_impl_items(
1513
db: &impl HirDatabase,
1614
analyzer: &hir::SourceAnalyzer,

crates/ra_ide/src/completion/complete_trait_impl.rs

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -10,45 +10,6 @@ use ra_syntax::{
1010

1111
use ra_assists::utils::get_missing_impl_items;
1212

13-
/// Analyzes the specified `CompletionContext` and provides magic completions
14-
/// if the context falls within a `impl Trait for` block.
15-
///
16-
/// # Completion Activation
17-
/// The completion will activate when a user begins to type a function
18-
/// definition, an associated type, or an associated constant.
19-
///
20-
/// ### Functions
21-
/// ```ignore
22-
/// trait SomeTrait {
23-
/// fn foo(&self);
24-
/// }
25-
///
26-
/// impl SomeTrait for () {
27-
/// fn <|>
28-
/// }
29-
/// ```
30-
///
31-
/// ### Associated Types
32-
/// ```ignore
33-
/// trait SomeTrait {
34-
/// type SomeType;
35-
/// }
36-
///
37-
/// impl SomeTrait for () {
38-
/// type <|>
39-
/// }
40-
/// ```
41-
///
42-
/// ### Associated Constants
43-
/// ```ignore
44-
/// trait SomeTrait {
45-
/// const SOME_CONST: u16;
46-
/// }
47-
///
48-
/// impl SomeTrait for () {
49-
/// const <|>
50-
/// }
51-
/// ```
5213
pub(crate) fn complete_trait_impl(acc: &mut Completions, ctx: &CompletionContext) {
5314
// it is possible to have a parent `fn` and `impl` block. Ignore completion
5415
// attempts from within a `fn` block.

0 commit comments

Comments
 (0)