cros_asyncv2: remove pointless drop() in test

Fixes a new clippy lint:
<https://rust-lang.github.io/rust-clippy/master/index.html#drop_non_drop>

BUG=b:243677117
TEST=tools/clippy # with Rust 1.62

Change-Id: I8ff384821a2b20a4fabd1afde16d2f808caae636
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3854974
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Daniel Verkamp 2022-08-24 10:37:16 -07:00 committed by crosvm LUCI
parent 504fad24ea
commit 882363bbaf

View file

@ -541,7 +541,7 @@ mod test {
pin_mut!(pending, done);
match select(pending, done).await {
Either::Right((5, pending)) => drop(pending),
Either::Right((5, _pending)) => (),
_ => panic!("unexpected select result"),
}
}