Skip to content

Commit

Permalink
Make Incompatibility::iter public
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Dec 16, 2024
1 parent 2122934 commit 1cc5564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/incompatibility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl<P: Package, VS: VersionSet, M: Eq + Clone + Debug + Display> Incompatibilit
}

/// Iterate over packages.
pub(crate) fn iter(&self) -> impl Iterator<Item = (Id<P>, &Term<VS>)> {
pub fn iter(&self) -> impl Iterator<Item = (Id<P>, &Term<VS>)> {
self.package_terms
.iter()
.map(|(package, term)| (*package, term))
Expand Down

0 comments on commit 1cc5564

Please sign in to comment.