File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/libsyntax/ext/deriving/generic Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -276,14 +276,13 @@ pub struct FieldInfo {
276276
277277/// Fields for a static method
278278pub enum StaticFields {
279- /// Tuple structs/enum variants like this
279+ /// Tuple structs/enum variants like this.
280280 Unnamed ( Vec < Span > ) ,
281281 /// Normal structs/struct variants.
282282 Named ( Vec < ( Ident , Span ) > ) ,
283283}
284284
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.
287286pub enum SubstructureFields < ' a > {
288287 Struct ( Vec < FieldInfo > ) ,
289288 /// Matching variants of the enum: variant index, ast::Variant,
@@ -308,7 +307,7 @@ pub enum SubstructureFields<'a> {
308307
309308
310309/// 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.
312311pub type CombineSubstructureFunc < ' a > =
313312 |& mut ExtCtxt , Span , & Substructure |: ' a -> P <Expr >;
314313
You can’t perform that action at this time.
0 commit comments