Skip to content

Commit 8d5ce7b

Browse files
committed
Update to 2024 edition
1 parent 6c100c8 commit 8d5ce7b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ptp-trace"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition = "2024"
55

66
[dependencies]
77
ratatui = "0.29"

src/ptp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,8 +876,8 @@ impl PtpTracker {
876876
self.hosts.get(&candidate_clock_id),
877877
) {
878878
if let (
879-
PtpHostState::TimeTransmitter(ref best_state),
880-
PtpHostState::TimeTransmitter(ref candidate_state),
879+
PtpHostState::TimeTransmitter(best_state),
880+
PtpHostState::TimeTransmitter(candidate_state),
881881
) = (&best_host.state, &candidate_host.state)
882882
{
883883
let comparison_result = candidate_state.compare_for_bmca(

0 commit comments

Comments
 (0)