Skip to content

Commit

Permalink
thanks clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Aug 1, 2024
1 parent cd2443d commit 46ea567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/changelog/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl ChangeLog {
} = &mut section_to_merge
{
*heading_level = first_release_indentation;
*version_prefix = first_version_prefix.clone();
version_prefix.clone_from(&first_version_prefix);
}
sections.insert(pos, section_to_merge);
}
Expand Down
2 changes: 1 addition & 1 deletion src/traverse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ fn forward_propagate_breaking_changes_for_publishing(
break;
}

previous_edits = edits.clone();
previous_edits.clone_from(&edits);
for edit_for_publish in edits {
edit_for_publish.apply(crates, ctx, bump_when_needed, allow_auto_publish_of_stable_crates)?;
}
Expand Down

0 comments on commit 46ea567

Please sign in to comment.