Skip to content

Commit b208a8e

Browse files
committed
Fix cargo clippy feedback.
1 parent 20193a9 commit b208a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl MHDR {
191191
return Err(anyhow!("Max hop_count is 8"));
192192
}
193193

194-
Ok(0x07 << 5 | self.payload_type.to_byte() << 3 | (self.hop_count - 1))
194+
Ok((0x07 << 5) | (self.payload_type.to_byte() << 3) | (self.hop_count - 1))
195195
}
196196
}
197197

0 commit comments

Comments
 (0)