Skip to content

Commit 03ecee6

Browse files
committed
---
yaml --- r: 155314 b: refs/heads/try2 c: a0d502b h: refs/heads/master v: v3
1 parent 2263319 commit 03ecee6

File tree

2 files changed

+4
-5
lines changed
  • branches/try2/src/libsyntax/ext/deriving/generic

2 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: f38f0b2e1af79766d13a18b506158ac32b16ce04
8+
refs/heads/try2: a0d502b0ed096397b7cccde37ec7139011ce7e9a
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

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

Lines changed: 3 additions & 4 deletions
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)