Skip to content

Commit 2360b2f

Browse files
clippy fixes
1 parent 497ca0b commit 2360b2f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 0.8.2
22

3-
* reference utils 0.5.3
3+
* reference utils 0.5.3 (fixes #68)
44

55
# 0.8.1
66

src/builder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ pub struct QuickJsRuntimeBuilder {
3535
pub(crate) opt_gc_interval: Option<Duration>,
3636
pub(crate) runtime_init_hooks: EsRuntimeInitHooks,
3737
pub(crate) script_pre_processors: Vec<Box<dyn ScriptPreProcessor + Send>>,
38+
#[allow(clippy::type_complexity)]
3839
pub(crate) interrupt_handler: Option<Box<dyn Fn(&QuickJsRuntimeAdapter) -> bool + Send>>,
3940
}
4041

src/quickjsruntimeadapter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ pub struct QuickJsRuntimeAdapter {
270270
native_module_loaders: Vec<NativeModuleLoaderAdapter>,
271271
compiled_module_loaders: Vec<CompiledModuleLoaderAdapter>,
272272
pub(crate) script_pre_processors: Vec<Box<dyn ScriptPreProcessor + Send>>,
273+
#[allow(clippy::type_complexity)]
273274
pub(crate) interrupt_handler: Option<Box<dyn Fn(&QuickJsRuntimeAdapter) -> bool>>,
274275
}
275276

0 commit comments

Comments
 (0)