aboutsummaryrefslogtreecommitdiffstats
path: root/askama_hyper
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-01-30 09:51:23 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-30 09:51:23 +0100
commit3003d86264680433e789d2726d0d12d2c6267c40 (patch)
treec7e74c13df73d05ec75ee8feec6416733e1de141 /askama_hyper
parent23326b4765b04cb13dd6c72f2103ff9bd6d44d7d (diff)
downloadaskama-3003d86264680433e789d2726d0d12d2c6267c40.tar.gz
askama-3003d86264680433e789d2726d0d12d2c6267c40.tar.bz2
askama-3003d86264680433e789d2726d0d12d2c6267c40.zip
Apply clippy suggestions for 1.67 (#769)
Diffstat (limited to '')
-rw-r--r--askama_hyper/Cargo.toml3
-rw-r--r--askama_hyper/tests/basic.rs2
2 files changed, 3 insertions, 2 deletions
diff --git a/askama_hyper/Cargo.toml b/askama_hyper/Cargo.toml
index 6a7a213..dfdfbd0 100644
--- a/askama_hyper/Cargo.toml
+++ b/askama_hyper/Cargo.toml
@@ -10,7 +10,8 @@ repository = "https://github.com/djc/askama"
license = "MIT OR Apache-2.0"
workspace = ".."
readme = "README.md"
-edition = "2018"
+edition = "2021"
+rust-version = "1.58"
[dependencies]
askama = { version = "0.11.2", path = "../askama", default-features = false, features = ["with-hyper"] }
diff --git a/askama_hyper/tests/basic.rs b/askama_hyper/tests/basic.rs
index d0038c1..efa8ba5 100644
--- a/askama_hyper/tests/basic.rs
+++ b/askama_hyper/tests/basic.rs
@@ -43,7 +43,7 @@ async fn test_hyper() {
server.await.expect("Could not serve");
};
let query = async move {
- let uri = format!("http://{}/hello/world", local_addr)
+ let uri = format!("http://{local_addr}/hello/world")
.parse()
.expect("Could not format URI");
let client = Client::new();