diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-05-13 15:09:17 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-05-13 15:09:17 +1200 |
| commit | 103e52b1db92b9ac57dcebf5c5738ad5a45155ad (patch) | |
| tree | f25dde7fb14152c900f89c7b9c85e63b1439c828 /src/libsyntax/ext | |
| parent | 5d16772ecb93270ac64b44b429a157f397a3e41d (diff) | |
| parent | c2b30b86df6b34ba19e87e63402e43d9e81a64fb (diff) | |
| download | rust-103e52b1db92b9ac57dcebf5c5738ad5a45155ad.tar.gz rust-103e52b1db92b9ac57dcebf5c5738ad5a45155ad.zip | |
Merge branch 'master' into mulit-decor
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/deriving/generic/mod.rs | 4 | ||||
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/ext/deriving/generic/mod.rs b/src/libsyntax/ext/deriving/generic/mod.rs index b1ab0438a01..1525f1a822b 100644 --- a/src/libsyntax/ext/deriving/generic/mod.rs +++ b/src/libsyntax/ext/deriving/generic/mod.rs @@ -904,8 +904,8 @@ impl<'a> MethodDef<'a> { nonself_args: &[P<Expr>]) -> P<Expr> { - let mut raw_fields = Vec::new(); // ~[[fields of self], - // [fields of next Self arg], [etc]] + let mut raw_fields = Vec::new(); // Vec<[fields of self], + // [fields of next Self arg], [etc]> let mut patterns = Vec::new(); for i in 0..self_args.len() { let struct_path= cx.path(DUMMY_SP, vec!( type_ident )); diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index 476ab0fbf11..d71557bd737 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -1719,7 +1719,7 @@ mod tests { // induced by visit. Each of these arrays contains a list of indexes, // interpreted as the varrefs in the varref traversal that this binding // should match. So, for instance, in a program with two bindings and - // three varrefs, the array ~[~[1,2],~[0]] would indicate that the first + // three varrefs, the array [[1, 2], [0]] would indicate that the first // binding should match the second two varrefs, and the second binding // should match the first varref. // |
