Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax ValueInput constraint for SkipUntil and SkipThenRetryUntil #529

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/recovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub struct SkipThenRetryUntil<S, U> {
impl<S, U> Sealed for SkipThenRetryUntil<S, U> {}
impl<'a, I, O, E, S, U> Strategy<'a, I, O, E> for SkipThenRetryUntil<S, U>
where
I: ValueInput<'a>,
I: Input<'a>,
S: Parser<'a, I, (), E>,
U: Parser<'a, I, (), E>,
E: ParserExtra<'a, I>,
Expand Down Expand Up @@ -157,7 +157,7 @@ pub struct SkipUntil<S, U, F> {
impl<S, U, F> Sealed for SkipUntil<S, U, F> {}
impl<'a, I, O, E, S, U, F> Strategy<'a, I, O, E> for SkipUntil<S, U, F>
where
I: ValueInput<'a>,
I: Input<'a>,
S: Parser<'a, I, (), E>,
U: Parser<'a, I, (), E>,
F: Fn() -> O,
Expand Down
Loading