We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ece8219 commit 14badafCopy full SHA for 14badaf
src/web/page/web_page.rs
@@ -26,7 +26,7 @@ macro_rules! impl_axum_webpage {
26
) => {
27
impl $crate::web::page::web_page::AddCspNonce for $page {
28
fn render_with_csp_nonce(&mut self, csp_nonce: String) -> askama::Result<String> {
29
- let values: [(&str, &dyn std::any::Any); 1] = [("csp_nonce", &csp_nonce)];
+ let values: (&str, &dyn std::any::Any) = ("csp_nonce", &csp_nonce);
30
self.render_with_values(&values)
31
}
32
0 commit comments