mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 22:57:59 -05:00
chore: clippy
This commit is contained in:
@@ -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?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user