aboutsummaryrefslogtreecommitdiffstats
path: root/askama_actix/tests/basic.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-02-01 12:41:26 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-02-01 13:23:34 +0100
commitdaf7e98c92cea21603e794676f95baa6ddc8f752 (patch)
tree1ef7a3a0489d7da4180c90a30f0709e8ca446ce6 /askama_actix/tests/basic.rs
parentc98f2729722afad85be7a6b6cba18aedbd83733a (diff)
downloadaskama-daf7e98c92cea21603e794676f95baa6ddc8f752.tar.gz
askama-daf7e98c92cea21603e794676f95baa6ddc8f752.tar.bz2
askama-daf7e98c92cea21603e794676f95baa6ddc8f752.zip
actix: upgrade to actix 4-rc.1
Diffstat (limited to '')
-rw-r--r--askama_actix/tests/basic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_actix/tests/basic.rs b/askama_actix/tests/basic.rs
index 070cbf6..615e324 100644
--- a/askama_actix/tests/basic.rs
+++ b/askama_actix/tests/basic.rs
@@ -33,7 +33,7 @@ async fn test_actix_web_responder() {
let srv = actix_test::start(|| {
actix_web::App::new().service(web::resource("/").to(|| async {
let name = "world".to_owned();
- HelloTemplate { name: &name }.to_response().await
+ HelloTemplate { name: &name }.to_response()
}))
});