Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
Signed-off-by: Little-Wallace <[email protected]>
  • Loading branch information
Little-Wallace committed Oct 26, 2023
1 parent 1438d7c commit 4f1e3f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/storage/src/hummock/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,6 @@ mod tests {

use crate::hummock::utils::MemoryLimiter;

// This is a clippy bug, see https://github.com/rust-lang/rust-clippy/issues/11380.
// TODO: remove `allow` here after the issued is closed.
#[expect(clippy::needless_pass_by_ref_mut)]
async fn assert_pending(future: &mut (impl Future + Unpin)) {
for _ in 0..10 {
assert!(poll_fn(|cx| Poll::Ready(future.poll_unpin(cx)))
Expand Down

0 comments on commit 4f1e3f9

Please sign in to comment.