Skip to content

Commit

Permalink
Run clippy on benches (and everythign else) during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
larseggert committed Feb 1, 2024
1 parent b201188 commit 417eebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
if: success() || failure()

- name: Clippy
run: cargo +${{ matrix.rust-toolchain }} clippy -v --tests -- -D warnings
run: cargo +${{ matrix.rust-toolchain }} clippy --all-targets -- -D warnings
if: success() || failure()
continue-on-error: ${{ matrix.rust-toolchain == 'beta' }}

Expand Down
2 changes: 1 addition & 1 deletion neqo-transport/benches/range_tracker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn build_coalesce(len: u64) -> RangeTracker {
// These do not get immediately coalesced when marking since they're not at the end or start
used.mark_range(i * 1000, 1000, RangeState::Acked);
}
return used;
used
}

fn coalesce(used: &mut RangeTracker) {
Expand Down

0 comments on commit 417eebb

Please sign in to comment.