diff --git a/crates/core/src/repofile/snapshotfile.rs b/crates/core/src/repofile/snapshotfile.rs index 403236af..b5b20489 100644 --- a/crates/core/src/repofile/snapshotfile.rs +++ b/crates/core/src/repofile/snapshotfile.rs @@ -571,7 +571,8 @@ impl SnapshotFile { /// # Returns /// /// The ordering of the two [`SnapshotFile`]s - fn cmp_group(&self, crit: SnapshotGroupCriterion, other: &Self) -> Ordering { + #[must_use] + pub fn cmp_group(&self, crit: SnapshotGroupCriterion, other: &Self) -> Ordering { if crit.hostname { self.hostname.cmp(&other.hostname) } else {