Skip to content

Commit

Permalink
placate new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
flihp committed Jul 24, 2024
1 parent 1d784b8 commit 58bc416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dice-mfg-msgs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ fn platform_id_from_0xv2(s: &str) -> Result<PlatformId, PlatformIdError> {
bytes[PLATFORM_ID_V1_PREFIX.len()..16]
.copy_from_slice(&s[PLATFORM_ID_V2_PREFIX.len()..16]);

bytes[16..20].copy_from_slice(&[b':', b'R', b'R', b'R']);
bytes[16..20].copy_from_slice(b":RRR");
// copy ':SN'
bytes[20..32].copy_from_slice(&s[20..32]);

Expand Down

0 comments on commit 58bc416

Please sign in to comment.