Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
chipsenkbeil committed May 14, 2022
1 parent 6d77eed commit 5c2ade9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distant-core/src/net/transport/inmemory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ mod tests {
let (_t_read, mut t_write) = stream.into_split();

// Queue a write already so that we block on the next one
t_write.write(&[1, 2, 3]).await.expect("Failed to write");
let _ = t_write.write(&[1, 2, 3]).await.expect("Failed to write");

// Verify that the next write is pending
let f = t_write.write(&[4, 5]);
Expand Down

0 comments on commit 5c2ade9

Please sign in to comment.