summaryrefslogtreecommitdiffstats
path: root/tokio-util
diff options
context:
space:
mode:
authorArtem Vorotnikov <artem@vorotnikov.me>2019-12-14 09:01:47 +0300
committerCarl Lerche <me@carllerche.com>2019-12-13 22:01:47 -0800
commitd593c5b051f07bde5117122216a356632986b6dd (patch)
tree87df3c4dd3a4cda23ae1125e8b78358804385edb /tokio-util
parent91ecb4b4c2ec202b6754ccb5fb266a84fe3a7327 (diff)
chore: remove benches and fix/work around clippy lints (#1952)
Diffstat (limited to 'tokio-util')
-rw-r--r--tokio-util/tests/framed_write.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio-util/tests/framed_write.rs b/tokio-util/tests/framed_write.rs
index 706e6792..b2970c39 100644
--- a/tokio-util/tests/framed_write.rs
+++ b/tokio-util/tests/framed_write.rs
@@ -82,7 +82,7 @@ fn write_hits_backpressure() {
// Append to the end
match mock.calls.back_mut().unwrap() {
- &mut Ok(ref mut data) => {
+ Ok(ref mut data) => {
// Write in 2kb chunks
if data.len() < ITER {
data.extend_from_slice(&b[..]);