Skip to content

Commit

Permalink
Doc: corrects obsolete pointer syntax
Browse files Browse the repository at this point in the history
Goes from ~ to box
Closes #18551
  • Loading branch information
gamazeps committed Nov 3, 2014
1 parent 851799d commit 9bc4da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsyntax/ast.rs
Expand Up @@ -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),
}
Expand Down

0 comments on commit 9bc4da3

Please sign in to comment.