Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

chore: remove unnecessary clone when deriving output path (#13106)

operagxoksana96389c33f178
diff --git a/src/commands/explore.rs b/src/commands/explore.rs
index 29aaf73dca..0dce416ba6 100644
--- a/src/commands/explore.rs
+++ b/src/commands/explore.rs
@@ -41,7 +41,6 @@ impl ExploreCommand {
let output = self
.output
- .clone()
.unwrap_or_else(|| self.module.with_extension("explore.html"));
let output_file = std::fs::File::create(&output)
.with_context(|| format!("failed to create file: {}", output.display()))?;