Skip to content

Commit 9bc4da3

Browse files
committed
Doc: corrects obsolete pointer syntax
Goes from ~ to box Closes #18551
1 parent 851799d commit 9bc4da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ pub enum Pat_ {
385385
PatLit(P<Expr>),
386386
PatRange(P<Expr>, P<Expr>),
387387
/// [a, b, ..i, y, z] is represented as:
388-
/// PatVec(~[a, b], Some(i), ~[y, z])
388+
/// PatVec(box [a, b], Some(i), box [y, z])
389389
PatVec(Vec<P<Pat>>, Option<P<Pat>>, Vec<P<Pat>>),
390390
PatMac(Mac),
391391
}

0 commit comments

Comments
 (0)