Skip to content

Commit 90a7991

Browse files
committed
chore: clippy
1 parent 7eeaea1 commit 90a7991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iroh/src/disco.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ pub fn source_and_box(p: &[u8]) -> Option<(PublicKey, &[u8])> {
106106
/// If `p` looks like a disco message it returns the slice of `p` that represents the disco public key source,
107107
/// and the part that is the box.
108108
pub fn source_and_box_bytes(p: &Bytes) -> Option<(PublicKey, Bytes)> {
109-
if !looks_like_disco_wrapper(&p) {
109+
if !looks_like_disco_wrapper(p) {
110110
return None;
111111
}
112112

0 commit comments

Comments
 (0)