Skip to content

Commit a0d502b

Browse files
committed
doc: Remove "see above".
1 parent f38f0b2 commit a0d502b

File tree

1 file changed

+3
-4
lines changed
  • src/libsyntax/ext/deriving/generic

1 file changed

+3
-4
lines changed

src/libsyntax/ext/deriving/generic/mod.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,13 @@ pub struct FieldInfo {
276276

277277
/// Fields for a static method
278278
pub 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.
287286
pub 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.
312311
pub type CombineSubstructureFunc<'a> =
313312
|&mut ExtCtxt, Span, &Substructure|: 'a -> P<Expr>;
314313

0 commit comments

Comments
 (0)