We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d1d345 + 599a0cf commit f8a222aCopy full SHA for f8a222a
ui_test/src/comments.rs
@@ -31,7 +31,6 @@ pub(crate) struct Comments {
31
pub error_matches: Vec<ErrorMatch>,
32
}
33
34
-
35
/// The conditions used for "ignore" and "only" filters.
36
#[derive(Debug)]
37
pub(crate) enum Condition {
@@ -55,7 +54,9 @@ pub(crate) struct ErrorMatch {
55
54
impl Condition {
56
fn parse(c: &str) -> Self {
57
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");
+ let bits: u8 = bits.parse().expect(
+ "ignore/only filter ending in 'bit' must be of the form 'Nbit' for some integer N",
59
+ );
60
Condition::Bitwidth(bits)
61
} else {
62
Condition::Target(c.to_owned())
0 commit comments