summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/modules.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules.rs b/core/modules.rs
index 6f330f559..546f2464f 100644
--- a/core/modules.rs
+++ b/core/modules.rs
@@ -43,7 +43,7 @@ pub type ModuleLoadId = i32;
// that happened; not only first and final target. It would simplify a lot
// of things throughout the codebase otherwise we may end up requesting
// intermediate redirects from file loader.
-#[derive(Debug, Eq, PartialEq)]
+#[derive(Debug, Clone, Eq, PartialEq)]
pub struct ModuleSource {
pub code: String,
pub module_url_specified: String,