summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2021-12-29 05:56:25 -0600
committerAlejandro Soto <alejandro@34project.org>2021-12-29 05:56:25 -0600
commit95ae1b7cfaa92ac0fc10a362ed9cdd29a37b0781 (patch)
tree8fe256140bc1d1b808f7566ce44faee2ec663766 /src/lib.rs
parent4a78224a34495cc4721116bfd1869aade0b4879f (diff)
Make Ino derive Ord/PartialOrd
Diffstat (limited to '')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 790a91a..a6e6d36 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -48,7 +48,7 @@ pub struct Timestamp {
///
/// This is a public newtype. Users are expected to inspect the underlying `u64` and construct
/// arbitrary `Ino` objects.
-#[derive(Copy, Clone, Eq, PartialEq, Hash, Debug)]
+#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug)]
pub struct Ino(pub u64);
impl Ino {