diff options
| author | Alejandro Soto <alejandro@34project.org> | 2021-12-29 05:56:25 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2021-12-29 05:56:25 -0600 |
| commit | 95ae1b7cfaa92ac0fc10a362ed9cdd29a37b0781 (patch) | |
| tree | 8fe256140bc1d1b808f7566ce44faee2ec663766 | |
| parent | 4a78224a34495cc4721116bfd1869aade0b4879f (diff) | |
Make Ino derive Ord/PartialOrd
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |
