diff options
| author | gamazeps <gamaz3ps@gmail.com> | 2014-11-03 12:18:56 +0100 |
|---|---|---|
| committer | gamazeps <gamaz3ps@gmail.com> | 2014-11-03 12:18:56 +0100 |
| commit | 9bc4da3493db7de6ac73038e9b60309295b19cbe (patch) | |
| tree | 7b159723ae856a03809eecca535b01e39d858187 /src/libsyntax | |
| parent | 851799d09e48e06f3fd0c4c6f694af51fc655f9a (diff) | |
| download | rust-9bc4da3493db7de6ac73038e9b60309295b19cbe.tar.gz rust-9bc4da3493db7de6ac73038e9b60309295b19cbe.zip | |
Doc: corrects obsolete pointer syntax
Goes from ~ to box Closes #18551
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index a2c859cf9fd..df4e51d8e9d 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -385,7 +385,7 @@ pub enum Pat_ { PatLit(P<Expr>), PatRange(P<Expr>, P<Expr>), /// [a, b, ..i, y, z] is represented as: - /// PatVec(~[a, b], Some(i), ~[y, z]) + /// PatVec(box [a, b], Some(i), box [y, z]) PatVec(Vec<P<Pat>>, Option<P<Pat>>, Vec<P<Pat>>), PatMac(Mac), } |
