Remove Clone from FileModuleResolver.

This commit is contained in:
Stephen Chung 2022-04-23 12:49:03 +08:00
parent c2a796f9c2
commit 63592ed648

View File

@ -45,7 +45,7 @@ pub const RHAI_SCRIPT_EXTENSION: &str = "rhai";
/// ///
/// engine.set_module_resolver(resolver); /// engine.set_module_resolver(resolver);
/// ``` /// ```
#[derive(Debug, Clone)] #[derive(Debug)]
pub struct FileModuleResolver { pub struct FileModuleResolver {
base_path: Option<PathBuf>, base_path: Option<PathBuf>,
extension: Identifier, extension: Identifier,