Skip to content

Commit 6301ef3

Browse files
authored
Check clippy on workspace packages (#906)
1 parent a6b0f42 commit 6301ef3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ jobs:
4545
- name: Run tests
4646
run: cargo test --all-features --all-targets
4747
- name: Run clippy
48-
run: cargo clippy --all-features --all-targets -- --no-deps --deny warnings
48+
run: cargo clippy --workspace --all-features --all-targets -- --no-deps --deny warnings

crates/stdext/src/arena/scratch.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ mod multi_threaded {
134134
static INIT_SIZE: AtomicUsize = AtomicUsize::new(128 * MEBI);
135135

136136
/// Sets the default scratch arena size.
137+
#[allow(dead_code)]
137138
pub fn init(capacity: usize) -> io::Result<()> {
138139
if capacity != 0 {
139140
INIT_SIZE.store(capacity, Ordering::Relaxed);

0 commit comments

Comments
 (0)