Rollup merge of #77081 - LingMan:patch-1, r=jonas-schievink

Merge two almost identical match arms
This commit is contained in:
Jonas Schievink 2020-09-25 02:29:44 +02:00 committed by GitHub
commit b8ab6eb217
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -518,8 +518,7 @@ pub mod printf {
.and_then(|end| end.at_next_cp())
.map(|end| (next.slice_between(end).unwrap(), end));
let end = match end {
Some(("32", end)) => end,
Some(("64", end)) => end,
Some(("32" | "64", end)) => end,
_ => next,
};
state = Type;