Skip to content

Commit b258ed5

Browse files
committed
proper doc comment for 'recovered' field of variant
Curtesy of petrochenkov
1 parent 1873844 commit b258ed5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/ty/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1842,8 +1842,8 @@ pub struct VariantDef {
18421842
pub ctor_kind: CtorKind,
18431843
/// Flags of the variant (e.g. is field list non-exhaustive)?
18441844
flags: VariantFlags,
1845-
/// Recovered?
1846-
// FIXME: Needs proper doc. Recovered whom from what?
1845+
/// Variant is obtained as part of recovering from a syntactic error.
1846+
/// May be incomplete or bogus.
18471847
pub recovered: bool,
18481848
}
18491849

0 commit comments

Comments
 (0)