Skip to content

Commit 94c8fb1

Browse files
committed
fix: clippy
1 parent bc76a18 commit 94c8fb1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/decoders/encoded_word.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,9 @@ mod tests {
164164
] {
165165
match MessageStream::new(input.as_bytes()).decode_rfc2047() {
166166
Some(result) => {
167-
//println!("Decoded '{}'", string);
168167
assert_eq!(result, expected_result);
169168
}
170-
_ => panic!("Failed to decode '{}'", input),
169+
_ => panic!("Failed to decode '{input}'"),
171170
}
172171
}
173172
}

src/parsers/fields/raw.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ mod tests {
7979
.parse_raw()
8080
.unwrap_text(),
8181
expected,
82-
"Failed for '{:?}'",
83-
input
82+
"Failed for '{input:?}'",
8483
);
8584
}
8685
}

0 commit comments

Comments
 (0)