Minor fixes
This commit is contained in:
parent
4ffd175c43
commit
2918a0e29b
@ -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");
|
||||
}
|
||||
|
||||
|
||||
@ -6,3 +6,4 @@ pub use str::StrCollectedSubstring;
|
||||
pub use str::StrSourceStream;
|
||||
pub use array::ArrayCollectedSubstring;
|
||||
pub use array::ArraySourceStream;
|
||||
pub use empty::EmptySourceStream;
|
||||
Loading…
Reference in New Issue
Block a user