Skip to content

Commit

Permalink
Fixed clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcebox committed Dec 19, 2024
1 parent 771dffb commit c7c91f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packet/event_packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl UsbMidiEventPacket {

/// Returns the raw bytes as owned array.
pub fn to_raw_bytes(&self) -> [u8; 4] {
self.raw.clone()
self.raw
}

/// Creates a packet from a slice of message bytes.
Expand Down

0 comments on commit c7c91f1

Please sign in to comment.