diff options
author | Rudi Floren <rudi@instant.ca> | 2023-02-13 13:43:38 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-03-03 10:31:34 +0100 |
commit | 4a7068d33317b69cc6e9d060136594997af53e46 (patch) | |
tree | fa1b796059d10f4f3290655d8cc592205370855f /testing/templates/foo.html | |
parent | c9613ff6029ee58dc3f94c3dd955b905ed7fc9ef (diff) | |
download | askama-4a7068d33317b69cc6e9d060136594997af53e46.tar.gz askama-4a7068d33317b69cc6e9d060136594997af53e46.tar.bz2 askama-4a7068d33317b69cc6e9d060136594997af53e46.zip |
exchange hyper features From<Template> for hyper::Body with TryFrom
The previous implementation hid the error returned by render,
which made it impossible for callers to react to rendering errors.
While having a simple way to call into would be nice, there is not
way to have both implementations without adding any manual
specialization. Thus, the From impl is replaced by the TryFrom impl.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions