Skip to content

Commit 96389c3

Browse files
chore: remove unnecessary clone when deriving output path (#13106)
1 parent d3f444c commit 96389c3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/commands/explore.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ impl ExploreCommand {
4141

4242
let output = self
4343
.output
44-
.clone()
4544
.unwrap_or_else(|| self.module.with_extension("explore.html"));
4645
let output_file = std::fs::File::create(&output)
4746
.with_context(|| format!("failed to create file: {}", output.display()))?;

0 commit comments

Comments
 (0)