diff options
Diffstat (limited to '')
| -rw-r--r-- | askama_shared/src/parser.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs index 80f766a..b91934b 100644 --- a/askama_shared/src/parser.rs +++ b/askama_shared/src/parser.rs @@ -66,6 +66,7 @@ impl Expr<'_> {              BinOp(_, lhs, rhs) => {                  lhs.is_copyable_within_op(true) && rhs.is_copyable_within_op(true)              } +            Range(..) => true,              // The result of a call likely doesn't need to be borrowed,              // as in that case the call is more likely to return a              // reference in the first place then. | 
