Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-L2L committed Mar 11, 2024
1 parent 31b5e4e commit 6e7a9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/gui/encrypt_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl EncryptMessage {
"Encrypted message: \n{ciphertext}"
));
if ui.button("📋").on_hover_text("Click to copy").clicked() {
ui.output_mut(|po| po.copied_text = ciphertext.clone());
ui.output_mut(|po| po.copied_text.clone_from(ciphertext));
};
});
}
Expand Down

0 comments on commit 6e7a9c5

Please sign in to comment.