Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tnowacki committed Jan 15, 2025
1 parent 105ee73 commit 66f2a57
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions external-crates/move/crates/move-docgen/src/docgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,16 +477,12 @@ impl<'env> Docgen<'env> {
format!(
"dependencies/{}/{}",
package_name,
file_name.to_string_lossy()
file_name.to_string_lossy(),
)
})
} else {
// We will generate this file in the provided output directory.
format!(
"{}/{}",
package_name,
file_name.to_string_lossy().to_string()
)
format!("{}/{}", package_name, file_name.to_string_lossy(),)
}
}

Expand Down

0 comments on commit 66f2a57

Please sign in to comment.