Skip to content

Commit f8a222a

Browse files
committed
Auto merge of rust-lang#2258 - RalfJung:fmt, r=RalfJung
fmt
2 parents 3d1d345 + 599a0cf commit f8a222a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui_test/src/comments.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pub(crate) struct Comments {
3131
pub error_matches: Vec<ErrorMatch>,
3232
}
3333

34-
3534
/// The conditions used for "ignore" and "only" filters.
3635
#[derive(Debug)]
3736
pub(crate) enum Condition {
@@ -55,7 +54,9 @@ pub(crate) struct ErrorMatch {
5554
impl Condition {
5655
fn parse(c: &str) -> Self {
5756
if let Some(bits) = c.strip_suffix("bit") {
58-
let bits: u8 = bits.parse().expect("ignore/only filter ending in 'bit' must be of the form 'Nbit' for some integer N");
57+
let bits: u8 = bits.parse().expect(
58+
"ignore/only filter ending in 'bit' must be of the form 'Nbit' for some integer N",
59+
);
5960
Condition::Bitwidth(bits)
6061
} else {
6162
Condition::Target(c.to_owned())

0 commit comments

Comments
 (0)