From a0d502b0ed096397b7cccde37ec7139011ce7e9a Mon Sep 17 00:00:00 2001 From: Jonas Hietala Date: Wed, 17 Sep 2014 15:12:58 +0200 Subject: [PATCH] doc: Remove "see above". --- src/libsyntax/ext/deriving/generic/mod.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libsyntax/ext/deriving/generic/mod.rs b/src/libsyntax/ext/deriving/generic/mod.rs index 514035f04e084..10fd515dee99c 100644 --- a/src/libsyntax/ext/deriving/generic/mod.rs +++ b/src/libsyntax/ext/deriving/generic/mod.rs @@ -276,14 +276,13 @@ pub struct FieldInfo { /// Fields for a static method pub enum StaticFields { - /// Tuple structs/enum variants like this + /// Tuple structs/enum variants like this. Unnamed(Vec), /// Normal structs/struct variants. Named(Vec<(Ident, Span)>), } -/// A summary of the possible sets of fields. See above for details -/// and examples +/// A summary of the possible sets of fields. pub enum SubstructureFields<'a> { Struct(Vec), /// Matching variants of the enum: variant index, ast::Variant, @@ -308,7 +307,7 @@ pub enum SubstructureFields<'a> { /// Combine the values of all the fields together. The last argument is -/// all the fields of all the structures, see above for details. +/// all the fields of all the structures. pub type CombineSubstructureFunc<'a> = |&mut ExtCtxt, Span, &Substructure|: 'a -> P;