apply clippy suggestions

This commit is contained in:
Tamo
2022-01-10 15:59:04 +01:00
parent 0fcde35a20
commit 92804f6f45
4 changed files with 5 additions and 11 deletions

View File

@ -63,11 +63,5 @@ pub fn parse_to(input: Span) -> IResult<FilterCondition> {
let (input, (key, from, _, to)) =
tuple((parse_value, parse_value, tag("TO"), cut(parse_value)))(input)?;
Ok((
input,
FilterCondition::Condition {
fid: key.into(),
op: Between { from: from.into(), to: to.into() },
},
))
Ok((input, FilterCondition::Condition { fid: key, op: Between { from, to } }))
}