Add code formatting on PatVec docs
This commit is contained in:
parent
7e9d73cf2d
commit
8bb72cfe00
@ -439,8 +439,8 @@ pub enum Pat_ {
|
||||
PatLit(P<Expr>),
|
||||
/// A range pattern, e.g. `1...2`
|
||||
PatRange(P<Expr>, P<Expr>),
|
||||
/// [a, b, ..i, y, z] is represented as:
|
||||
/// PatVec(box [a, b], Some(i), box [y, z])
|
||||
/// `[a, b, ..i, y, z]` is represented as:
|
||||
/// `PatVec(box [a, b], Some(i), box [y, z])`
|
||||
PatVec(Vec<P<Pat>>, Option<P<Pat>>, Vec<P<Pat>>),
|
||||
}
|
||||
|
||||
|
@ -615,8 +615,8 @@ pub enum Pat_ {
|
||||
PatLit(P<Expr>),
|
||||
/// A range pattern, e.g. `1...2`
|
||||
PatRange(P<Expr>, P<Expr>),
|
||||
/// [a, b, ..i, y, z] is represented as:
|
||||
/// PatVec(box [a, b], Some(i), box [y, z])
|
||||
/// `[a, b, ..i, y, z]` is represented as:
|
||||
/// `PatVec(box [a, b], Some(i), box [y, z])`
|
||||
PatVec(Vec<P<Pat>>, Option<P<Pat>>, Vec<P<Pat>>),
|
||||
/// A macro pattern; pre-expansion
|
||||
PatMac(Mac),
|
||||
|
Loading…
Reference in New Issue
Block a user