summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-19 23:56:52 +0200
committertv <tv@krebsco.de>2026-10-19 23:56:52 +0200
commitb17e4dc1fb7556b9eb276bdc96b1d90b53cca37b (patch)
treec02f7fa30adbcb44a0f89c4d10ed3d7c85051780 /src/state.rs
parent25a37bf64c4edf2d1c2cea01d5d5be7f647f3c85 (diff)
cargo fmt
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs
index eee9d7c..3d76ca8 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -40,7 +40,9 @@ pub(crate) enum PeerMembership {
pub(crate) enum Liveness {
Active,
/// No inbound message for Timing::dormant_after. Kept indefinitely, probed slowly.
- Dormant { since: Instant },
+ Dormant {
+ since: Instant,
+ },
}
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]