diff --git a/core/mvcc/.github/workflows/smoke_test.yml b/core/mvcc/.github/workflows/smoke_test.yml index 3b31f99b3..33c5f1948 100644 --- a/core/mvcc/.github/workflows/smoke_test.yml +++ b/core/mvcc/.github/workflows/smoke_test.yml @@ -44,7 +44,7 @@ jobs: uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - args: --all-targets --tests --all-features -- -D warnings + args: --all-targets --all-features -- -D warnings rust-fmt: runs-on: ubuntu-latest name: Run Rustfmt diff --git a/core/mvcc/database/benches/my_benchmark.rs b/core/mvcc/database/benches/my_benchmark.rs index 7f6f8ea50..6aead08e5 100644 --- a/core/mvcc/database/benches/my_benchmark.rs +++ b/core/mvcc/database/benches/my_benchmark.rs @@ -1,5 +1,6 @@ -use criterion::{black_box, criterion_group, criterion_main, Criterion}; -use mvcc_rs::database::{Database, LocalClock, Row}; +use criterion::{criterion_group, criterion_main, Criterion}; +use mvcc_rs::clock::LocalClock; +use mvcc_rs::database::{Database, Row}; use pprof::criterion::{Output, PProfProfiler}; fn bench(c: &mut Criterion) {