Skip to content

Commit

Permalink
Merge pull request #39 from Zondax/fix_clippy
Browse files Browse the repository at this point in the history
fix drop warning
  • Loading branch information
neithanmo authored Jun 6, 2024
2 parents d840e1a + 83bc7ce commit 19587da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zemu/src/ui_toolkit/backends/nanox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl UIBackend<KEY_SIZE> for NanoXBackend {
&mut self.key
}

fn message_buf(&mut self) -> Self::MessageBuf {
fn message_buf(self) -> Self::MessageBuf {
core::mem::drop(self);

core::str::from_utf8_mut(&mut Self::static_mut().message)
Expand Down

0 comments on commit 19587da

Please sign in to comment.