We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c100c8 commit 8d5ce7bCopy full SHA for 8d5ce7b
Cargo.toml
@@ -1,7 +1,7 @@
1
[package]
2
name = "ptp-trace"
3
version = "0.1.0"
4
-edition = "2021"
+edition = "2024"
5
6
[dependencies]
7
ratatui = "0.29"
src/ptp.rs
@@ -876,8 +876,8 @@ impl PtpTracker {
876
self.hosts.get(&candidate_clock_id),
877
) {
878
if let (
879
- PtpHostState::TimeTransmitter(ref best_state),
880
- PtpHostState::TimeTransmitter(ref candidate_state),
+ PtpHostState::TimeTransmitter(best_state),
+ PtpHostState::TimeTransmitter(candidate_state),
881
) = (&best_host.state, &candidate_host.state)
882
{
883
let comparison_result = candidate_state.compare_for_bmca(
0 commit comments