Skip to content

Commit 7818580

Browse files
committed
Silence clippy on wasm-bindgen generated option getters
1 parent a70e27e commit 7818580

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/pool/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// The getters that `#[wasm_bindgen(getter_with_clone)]` generates for
2+
// `WorkerPoolOptions` clone every field, including the `Copy` ones.
3+
#![allow(clippy::clone_on_copy)]
4+
15
use std::{borrow::Borrow, cell::RefCell, rc::Rc};
26

37
use futures::future::join_all;

0 commit comments

Comments
 (0)