We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d320b3 commit 936f3edCopy full SHA for 936f3ed
tokio-imap/src/proto.rs
@@ -64,7 +64,7 @@ impl Encoder for ImapCodec {
64
dst.put(msg.0.as_bytes());
65
dst.put_u8(b' ');
66
dst.put_slice(&msg.1);
67
- dst.put("\r\n".as_bytes());
+ dst.put(b"\r\n".as_ref());
68
Ok(())
69
}
70
0 commit comments