Clippy
This commit is contained in:
parent
e32f27494a
commit
cc004df6e8
3 changed files with 8 additions and 10 deletions
|
|
@ -114,7 +114,7 @@ mod tests {
|
|||
use tokio::io::{AsyncReadExt, DuplexStream};
|
||||
|
||||
async fn sync(client_read: &mut DuplexStream) {
|
||||
print!("[client] Waiting for server sync...\n");
|
||||
println!("[client] Waiting for server sync...");
|
||||
for _ in 0..8 {
|
||||
let b = client_read
|
||||
.read_u8()
|
||||
|
|
@ -124,7 +124,7 @@ mod tests {
|
|||
}
|
||||
|
||||
let mut reader = MessageReader::new(client_read);
|
||||
print!("[client] Reading first message...\n");
|
||||
println!("[client] Reading first message...");
|
||||
let msg = reader.read().await.expect("Error reading first message");
|
||||
assert_matches!(msg, Message::Hello(0, 2, _));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue