Remove redundant clones in codegen

This commit is contained in:
J Henry Waugh
2020-09-22 21:38:02 -05:00
parent 5a37497a22
commit d65042088e
4 changed files with 22 additions and 25 deletions

View File

@@ -1,8 +1,5 @@
//! 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;