Merge two almost identical match arms
This commit is contained in:
parent
0da5800745
commit
d76b80768c
|
@ -518,8 +518,7 @@ pub mod printf {
|
||||||
.and_then(|end| end.at_next_cp())
|
.and_then(|end| end.at_next_cp())
|
||||||
.map(|end| (next.slice_between(end).unwrap(), end));
|
.map(|end| (next.slice_between(end).unwrap(), end));
|
||||||
let end = match end {
|
let end = match end {
|
||||||
Some(("32", end)) => end,
|
Some(("32" | "64", end)) => end,
|
||||||
Some(("64", end)) => end,
|
|
||||||
_ => next,
|
_ => next,
|
||||||
};
|
};
|
||||||
state = Type;
|
state = Type;
|
||||||
|
|
Loading…
Reference in New Issue