mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
make the doc comment on render::compound::visible_fields a little better
This commit is contained in:
parent
6a1c151159
commit
b3640ce424
1 changed files with 2 additions and 2 deletions
|
@ -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
|
/// 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(
|
pub(crate) fn visible_fields(
|
||||||
ctx: &RenderContext<'_>,
|
ctx: &RenderContext<'_>,
|
||||||
fields: &[hir::Field],
|
fields: &[hir::Field],
|
||||||
|
|
Loading…
Reference in a new issue