Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/rustdoc-json-types/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -856,10 +856,10 @@ pub enum VariantKind {
/// }
/// ```
Struct {
/// The list of variants in the enum.
/// All of the corresponding [`Item`]s are of kind [`ItemEnum::Variant`].
/// The list of named fields in the variant.
/// All of the corresponding [`Item`]s are of kind [`ItemEnum::StructField`].
fields: Vec<Id>,
/// Whether any variants have been removed from the result, due to being private or hidden.
/// Whether any fields have been removed from the result, due to being private or hidden.
has_stripped_fields: bool,
},
}
Expand Down
Loading