fix two nightly errors

This commit is contained in:
Tamo 2022-12-13 15:29:52 +01:00
parent 406ee31d1a
commit 2c47500bc3
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
2 changed files with 4 additions and 2 deletions

View file

@ -170,7 +170,9 @@ impl<'a> FilterCondition<'a> {
}
/// remove OPTIONAL whitespaces before AND after the provided parser.
fn ws<'a, O>(inner: impl FnMut(Span<'a>) -> IResult<O>) -> impl FnMut(Span<'a>) -> IResult<O> {
fn ws<'a, O>(
inner: impl FnMut(Span<'a>) -> IResult<'a, O>,
) -> impl FnMut(Span<'a>) -> IResult<'a, O> {
delimited(multispace0, inner, multispace0)
}