Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed May 30, 2024
1 parent d0cb395 commit 1a7be01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/core/src/util/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl<V: Ord> InclusionRule<V> {
Self::AnyOf(BTreeSet::from_iter(items))
}

/// Instantiates `Self::ALl` using supplied items if size is greater than 1, otherwise returns `None`.
/// Instantiates `Self::All` using supplied items if size is greater than 0, otherwise returns `None`.
pub fn all(items: impl IntoIterator<Item = V>) -> Option<Self> {
let set = BTreeSet::from_iter(items);

Expand Down

0 comments on commit 1a7be01

Please sign in to comment.