Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
crdt: run cargo fmt
✗ CI failure Fintan Halpenny committed 1 year ago
commit 86a04439168454ab7e2ca4ba69b2337d581c0ce0
parent e1470fccd7c84977234319b320df54acb162c9f6
1 passed 1 failed (2 total) View logs
1 file changed +2 -6
modified radicle-crdt/src/clock.rs
@@ -146,14 +146,10 @@ impl std::ops::Add<u64> for Physical {

impl Bounded for Physical {
    fn min_value() -> Self {
-
        Self {
-
            seconds: u64::MIN,
-
        }
+
        Self { seconds: u64::MIN }
    }

    fn max_value() -> Self {
-
        Self {
-
            seconds: u64::MAX,
-
        }
+
        Self { seconds: u64::MAX }
    }
}