aboutsummaryrefslogtreecommitdiffstats
path: root/askama_actix/tests/basic.rs
diff options
context:
space:
mode:
authorLibravatar Rudi Floren <rudi@instant.ca>2023-02-13 13:43:38 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-03-03 10:31:34 +0100
commit4a7068d33317b69cc6e9d060136594997af53e46 (patch)
treefa1b796059d10f4f3290655d8cc592205370855f /askama_actix/tests/basic.rs
parentc9613ff6029ee58dc3f94c3dd955b905ed7fc9ef (diff)
downloadaskama-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 'askama_actix/tests/basic.rs')
0 files changed, 0 insertions, 0 deletions