Minor fixes

This commit is contained in:
Andrew Golovashevich 2025-11-19 02:15:48 +03:00
parent 4ffd175c43
commit 2918a0e29b
2 changed files with 4 additions and 3 deletions

View File

@ -44,11 +44,11 @@ impl<
type P = P;
type CS = CS;
fn skipNext(&mut self, predicate: &mut impl Predicate<Self::C>) -> Option<Self::C> {
fn skipNext(&mut self, _: &mut impl Predicate<Self::C>) -> Option<Self::C> {
return None;
}
fn collect(&mut self, predicate: &mut impl Predicate<Self::C>) -> (Self::CS, Option<Self::C>) {
fn collect(&mut self, _: &mut impl Predicate<Self::C>) -> (Self::CS, Option<Self::C>) {
panic!("How about to check first char of substring being collected first");
}

View File

@ -6,3 +6,4 @@ pub use str::StrCollectedSubstring;
pub use str::StrSourceStream;
pub use array::ArrayCollectedSubstring;
pub use array::ArraySourceStream;
pub use empty::EmptySourceStream;