chore: clippy

This commit is contained in:
skoupidi
2024-08-09 16:36:04 +03:00
parent cbfe0997b4
commit 40ac6f00a6

View File

@@ -82,7 +82,7 @@ pub(super) async fn write_to_stream(
};
// As we're a line-based protocol, we append CRLF to the end of the JSON string.
for i in [object_str.as_bytes(), &[b'\r', b'\n']] {
for i in [object_str.as_bytes(), b"\r\n"] {
writer.write_all(i).await?
}