Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeMathWalker committed Sep 23, 2024
1 parent abb68c6 commit a228626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skeleton/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ fn panic(_: &core::panic::PanicInfo) -> ! {
if let Some(package) = parsed_manifest.package.as_ref() {
for target_directory in &target_directories {
// Remove dummy libraries.
for lib in &parsed_manifest.lib {
if let Some(lib) = &parsed_manifest.lib {
let library_name =
lib.name.as_ref().unwrap_or(&package.name).replace('-', "_");
let walker = GlobWalkerBuilder::from_patterns(
Expand Down

0 comments on commit a228626

Please sign in to comment.