Skip to content

Commit 3667155

Browse files
committed
make SnapshotFile::cmp_group public
1 parent 7b7107e commit 3667155

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/core/src/repofile/snapshotfile.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,8 @@ impl SnapshotFile {
571571
/// # Returns
572572
///
573573
/// The ordering of the two [`SnapshotFile`]s
574-
fn cmp_group(&self, crit: SnapshotGroupCriterion, other: &Self) -> Ordering {
574+
#[must_use]
575+
pub fn cmp_group(&self, crit: SnapshotGroupCriterion, other: &Self) -> Ordering {
575576
if crit.hostname {
576577
self.hostname.cmp(&other.hostname)
577578
} else {

0 commit comments

Comments
 (0)