diff options
| author | Jonas Hietala <tradet.h@gmail.com> | 2014-09-17 15:12:58 +0200 |
|---|---|---|
| committer | Jonas Hietala <tradet.h@gmail.com> | 2014-09-17 15:12:58 +0200 |
| commit | a0d502b0ed096397b7cccde37ec7139011ce7e9a (patch) | |
| tree | 3f62743759b80f286aeec3281db08aa6e3a39068 /src/libsyntax | |
| parent | f38f0b2e1af79766d13a18b506158ac32b16ce04 (diff) | |
| download | rust-a0d502b0ed096397b7cccde37ec7139011ce7e9a.tar.gz rust-a0d502b0ed096397b7cccde37ec7139011ce7e9a.zip | |
doc: Remove "see above".
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ext/deriving/generic/mod.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libsyntax/ext/deriving/generic/mod.rs b/src/libsyntax/ext/deriving/generic/mod.rs index 514035f04e0..10fd515dee9 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<Span>), /// 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<FieldInfo>), /// 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<Expr>; |
