We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b0f42 commit 6301ef3Copy full SHA for 6301ef3
2 files changed
.github/workflows/ci.yml
@@ -45,4 +45,4 @@ jobs:
45
- name: Run tests
46
run: cargo test --all-features --all-targets
47
- name: Run clippy
48
- run: cargo clippy --all-features --all-targets -- --no-deps --deny warnings
+ run: cargo clippy --workspace --all-features --all-targets -- --no-deps --deny warnings
crates/stdext/src/arena/scratch.rs
@@ -134,6 +134,7 @@ mod multi_threaded {
134
static INIT_SIZE: AtomicUsize = AtomicUsize::new(128 * MEBI);
135
136
/// Sets the default scratch arena size.
137
+ #[allow(dead_code)]
138
pub fn init(capacity: usize) -> io::Result<()> {
139
if capacity != 0 {
140
INIT_SIZE.store(capacity, Ordering::Relaxed);
0 commit comments