cargo fmt

This commit is contained in:
Gabriel Simmer 2023-07-19 21:04:25 +01:00
parent 3b849e6e6e
commit c2449dcaf1
Signed by: arch
GPG key ID: C81B106D46C5B875

View file

@ -240,12 +240,11 @@ async fn cached_page<T>(
.unwrap(),
};
data.insert(
path.clone(),
cache.clone()
);
data.insert(path.clone(), cache.clone());
let cache_sqlite = sqlx::query("INSERT INTO cached (route, cached, content_type, content) VALUES ( $1, $2, $3, $4 )")
let cache_sqlite = sqlx::query(
"INSERT INTO cached (route, cached, content_type, content) VALUES ( $1, $2, $3, $4 )",
)
.bind(path)
.bind(cache.cached)
.bind(cache.content_type)