Doc: corrects obsolete pointer syntax

Goes from ~ to box
Closes #18551
This commit is contained in:
gamazeps 2014-11-03 12:18:56 +01:00
parent 851799d09e
commit 9bc4da3493

View File

@ -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),
}