From 1c335e24dc83f950b9865451f35d791f3b8e399e Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Thu, 25 Aug 2022 08:41:09 +0800 Subject: [PATCH] Fix formatting. --- src/module/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module/mod.rs b/src/module/mod.rs index 06fb0729..5a11eae1 100644 --- a/src/module/mod.rs +++ b/src/module/mod.rs @@ -2088,8 +2088,8 @@ impl Module { { let environ = Shared::new(crate::ast::EncapsulatedEnviron { lib: ast.shared_lib().clone(), - imports: imports.clone().into_boxed_slice(), - constants: constants.clone(), + imports: imports.into_boxed_slice(), + constants, }); ast.shared_lib()