proper doc comment for 'recovered' field of variant

Curtesy of petrochenkov
This commit is contained in:
Ralf Jung 2019-08-07 11:52:40 +02:00
parent 4b062a175f
commit 3972d05fec

View file

@ -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,
}