Merge two almost identical match arms
This commit is contained in:
parent
0da5800745
commit
d76b80768c
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue