diff options
| author | Morgan Thomas <corp@m0rg.dev> | 2022-03-11 19:23:04 -0800 |
|---|---|---|
| committer | Morgan Thomas <corp@m0rg.dev> | 2022-03-11 19:23:04 -0800 |
| commit | b3640ce424f5440190277df702ebe885827b128c (patch) | |
| tree | 4de6db71680fa3116b4a02ce0085e2fe7ec78b07 | |
| parent | 6a1c1511595da866f6609e14c449136fa377fa33 (diff) | |
| download | rust-b3640ce424f5440190277df702ebe885827b128c.tar.gz rust-b3640ce424f5440190277df702ebe885827b128c.zip | |
make the doc comment on render::compound::visible_fields a little better
| -rw-r--r-- | crates/ide_completion/src/render/compound.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_completion/src/render/compound.rs b/crates/ide_completion/src/render/compound.rs index c1047e9b624..19bc53203a5 100644 --- a/crates/ide_completion/src/render/compound.rs +++ b/crates/ide_completion/src/render/compound.rs @@ -71,9 +71,9 @@ pub(crate) fn render_tuple( } } -/// Find all the visible fields in a `HasAttrs`. Returns the list of visible +/// Find all the visible fields in a given list. Returns the list of visible /// fields, plus a boolean for whether the list is comprehensive (contains no -/// private fields and is not marked `#[non_exhaustive]`). +/// private fields and its item is not marked `#[non_exhaustive]`). pub(crate) fn visible_fields( ctx: &RenderContext<'_>, fields: &[hir::Field], |
