mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 15:43:24 +03:00
proper doc comment for 'recovered' field of variant
Curtesy of petrochenkov
This commit is contained in:
@@ -1842,8 +1842,8 @@ pub struct VariantDef {
|
||||
pub ctor_kind: CtorKind,
|
||||
/// Flags of the variant (e.g. is field list non-exhaustive)?
|
||||
flags: VariantFlags,
|
||||
/// Recovered?
|
||||
// FIXME: Needs proper doc. Recovered whom from what?
|
||||
/// Variant is obtained as part of recovering from a syntactic error.
|
||||
/// May be incomplete or bogus.
|
||||
pub recovered: bool,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user