Fix compile error from breaking changes in libsyntax
This commit is contained in:
parent
eb1819d71e
commit
bc16d8864a
@ -99,7 +99,7 @@ impl Rewrite for Pat {
|
||||
}
|
||||
}
|
||||
PatKind::Range(ref lhs, ref rhs, ref end_kind) => {
|
||||
let infix = match *end_kind {
|
||||
let infix = match end_kind.node {
|
||||
RangeEnd::Included(RangeSyntax::DotDotDot) => "...",
|
||||
RangeEnd::Included(RangeSyntax::DotDotEq) => "..=",
|
||||
RangeEnd::Excluded => "..",
|
||||
|
Loading…
x
Reference in New Issue
Block a user