summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
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 e5fe25c..c6d3d86 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)]