Skip to content

Commit

Permalink
Fix immediately dereferenced reference style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rnijveld authored and davidv1992 committed Sep 20, 2024
1 parent 12a4dae commit 38e5307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statime/src/port/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ impl<'a, A: AcceptableMasterList, C: Clock, F: Filter, R: Rng, S: PtpInstanceSta
&mut self,
data: &'b [u8],
) -> ControlFlow<PortActionIterator<'b>, Message<'b>> {
if !is_message_buffer_compatible(&data) {
if !is_message_buffer_compatible(data) {
// do not spam with parse error in mixed-version PTPv1+v2 networks
return ControlFlow::Break(actions![]);
}
Expand Down

0 comments on commit 38e5307

Please sign in to comment.