diff --git a/src/packages/mod.rs b/src/packages/mod.rs index 1c6dc3a9..53fbf94f 100644 --- a/src/packages/mod.rs +++ b/src/packages/mod.rs @@ -1,5 +1,8 @@ //! Module containing all built-in _packages_ available to Rhai, plus facilities to define custom packages. +// Hide clippy errors from exported modules +#![allow(clippy::redundant_clone)] + use crate::fn_native::{CallableFunction, IteratorFn, Shared}; use crate::module::Module; use crate::utils::StaticVec;