mirror of
https://github.com/askama-rs/askama.git
synced 2025-12-29 21:01:26 +00:00
Fix new clippy lints
This commit is contained in:
parent
a918f65937
commit
5bb0e5ff95
@ -451,7 +451,7 @@ impl<'a: 'l, 'l> CondTest<'a> {
|
||||
i.next_slice(v.rhs.span.start - start_offset);
|
||||
|
||||
let (new_right, span) = Self::parse_cond.with_span().parse_next(i)?;
|
||||
v.rhs.inner = Box::new(Expr::LetCond(WithSpan::new(new_right, span)));
|
||||
*v.rhs.inner = Expr::LetCond(WithSpan::new(new_right, span));
|
||||
}
|
||||
Ok(expr)
|
||||
}),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user