diff options
-rwxr-xr-x | check | 1 | ||||
-rw-r--r-- | src/chunkmeta.rs | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -12,6 +12,7 @@ then verbose | -v | --verbose) quiet= hideok= + shift ;; esac fi diff --git a/src/chunkmeta.rs b/src/chunkmeta.rs index 37e2ed5..fc5ffff 100644 --- a/src/chunkmeta.rs +++ b/src/chunkmeta.rs @@ -67,7 +67,10 @@ impl ChunkMeta { /// Is this a generation chunk? pub fn is_generation(&self) -> bool { - matches!(self.generation, Some(true)) + match self.generation { + Some(true) => true, + _ => false, + } } /// When did this generation end? |