...
Nothing is perfect, everything is broken in some ways.
And that's what's so fascinating about this world.
Sign up for your own profile on GitHub, the best place to host code, manage projects, and build software alongside 50 million developers.
Sign upNothing is perfect, everything is broken in some ways.
And that's what's so fascinating about this world.
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. …
{{ number | into_f64 }} expands to into_f64(&number), which doesn't compile, because borrowed number doesn't impl NumCast.