Skip to content

Commit 4d3dbaf

Browse files
committed
Apply clippy suggestion
1 parent d8566d6 commit 4d3dbaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imap-proto/examples/parse_response.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn main() -> std::io::Result<()> {
1212
line
1313
};
1414

15-
match Response::from_bytes(line.replace("\n", "\r\n").as_bytes()) {
15+
match Response::from_bytes(line.replace('\n', "\r\n").as_bytes()) {
1616
Ok((remaining, command)) => {
1717
println!("{:#?}", command);
1818

0 commit comments

Comments
 (0)