We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b7107e commit 3667155Copy full SHA for 3667155
crates/core/src/repofile/snapshotfile.rs
@@ -571,7 +571,8 @@ impl SnapshotFile {
571
/// # Returns
572
///
573
/// The ordering of the two [`SnapshotFile`]s
574
- fn cmp_group(&self, crit: SnapshotGroupCriterion, other: &Self) -> Ordering {
+ #[must_use]
575
+ pub fn cmp_group(&self, crit: SnapshotGroupCriterion, other: &Self) -> Ordering {
576
if crit.hostname {
577
self.hostname.cmp(&other.hostname)
578
} else {
0 commit comments