Skip to content

Commit

Permalink
chore: apply clippy fixes from latest clippy version
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Feb 11, 2024
1 parent a35cbb6 commit a03fda8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nfc/ndef.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl NdefTextRecord {
}
}

pub fn parse_ndef_text_record(data: &Vec<u8>) -> Result<NdefTextRecord> {
pub fn parse_ndef_text_record(data: &[u8]) -> Result<NdefTextRecord> {
let record_length = data.len();
let mut index = 0;

Expand Down

0 comments on commit a03fda8

Please sign in to comment.