File tree 1 file changed +3
-4
lines changed
src/libsyntax/ext/deriving/generic
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -276,14 +276,13 @@ pub struct FieldInfo {
276
276
277
277
/// Fields for a static method
278
278
pub enum StaticFields {
279
- /// Tuple structs/enum variants like this
279
+ /// Tuple structs/enum variants like this.
280
280
Unnamed ( Vec < Span > ) ,
281
281
/// Normal structs/struct variants.
282
282
Named ( Vec < ( Ident , Span ) > ) ,
283
283
}
284
284
285
- /// A summary of the possible sets of fields. See above for details
286
- /// and examples
285
+ /// A summary of the possible sets of fields.
287
286
pub enum SubstructureFields < ' a > {
288
287
Struct ( Vec < FieldInfo > ) ,
289
288
/// Matching variants of the enum: variant index, ast::Variant,
@@ -308,7 +307,7 @@ pub enum SubstructureFields<'a> {
308
307
309
308
310
309
/// Combine the values of all the fields together. The last argument is
311
- /// all the fields of all the structures, see above for details .
310
+ /// all the fields of all the structures.
312
311
pub type CombineSubstructureFunc < ' a > =
313
312
|& mut ExtCtxt , Span , & Substructure |: ' a -> P <Expr >;
314
313
You can’t perform that action at this time.
0 commit comments