We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TakeWhileInclusive::new
1 parent 6de2f5c commit 37c54d1Copy full SHA for 37c54d1
src/take_while_inclusive.rs
@@ -21,7 +21,7 @@ where
21
F: FnMut(&I::Item) -> bool,
22
{
23
/// Create a new [`TakeWhileInclusive`] from an iterator and a predicate.
24
- pub fn new(iter: I, predicate: F) -> Self {
+ pub(crate) fn new(iter: I, predicate: F) -> Self {
25
Self {
26
iter,
27
predicate,
0 commit comments