diff options
author | Yuxuan Shui <yshuiv7@gmail.com> | 2020-09-16 02:04:05 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2020-09-16 11:49:16 +0200 |
commit | ba8a4f836c75dff63f026bd432d3a8659e5de394 (patch) | |
tree | 6f1c78ec50a0e1711344f6cdf7adf4220cbb05cd /testing/templates/match-literal-char.html | |
parent | 17b9d06814cee84bfd57b73e1941b63187ec5f65 (diff) | |
download | askama-ba8a4f836c75dff63f026bd432d3a8659e5de394.tar.gz askama-ba8a4f836c75dff63f026bd432d3a8659e5de394.tar.bz2 askama-ba8a4f836c75dff63f026bd432d3a8659e5de394.zip |
fix into_f64 and into_isize
askama passes references to the filters (e.g. &f64), and &f64 doesn't
implement NumCast, only f64 does.
So, the filters should take &T instead of T.
Fixes #357
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions