Skip to content

Commit 936f3ed

Browse files
committed
Fix clippy warning
1 parent 1d320b3 commit 936f3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio-imap/src/proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl Encoder for ImapCodec {
6464
dst.put(msg.0.as_bytes());
6565
dst.put_u8(b' ');
6666
dst.put_slice(&msg.1);
67-
dst.put("\r\n".as_bytes());
67+
dst.put(b"\r\n".as_ref());
6868
Ok(())
6969
}
7070
}

0 commit comments

Comments
 (0)