diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c84869c346b..c860ebe3a63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,4 +45,4 @@ jobs: - name: Run tests run: cargo test --all-features --all-targets - name: Run clippy - run: cargo clippy --all-features --all-targets -- --no-deps --deny warnings + run: cargo clippy --workspace --all-features --all-targets -- --no-deps --deny warnings diff --git a/crates/stdext/src/arena/scratch.rs b/crates/stdext/src/arena/scratch.rs index 18fd129b513..57645bee9ef 100644 --- a/crates/stdext/src/arena/scratch.rs +++ b/crates/stdext/src/arena/scratch.rs @@ -134,6 +134,7 @@ mod multi_threaded { static INIT_SIZE: AtomicUsize = AtomicUsize::new(128 * MEBI); /// Sets the default scratch arena size. + #[allow(dead_code)] pub fn init(capacity: usize) -> io::Result<()> { if capacity != 0 { INIT_SIZE.store(capacity, Ordering::Relaxed);