From c92366752ca175afca4fd74ef0a49a54822723e1 Mon Sep 17 00:00:00 2001 From: benwis Date: Thu, 28 Sep 2023 23:20:44 -0700 Subject: [PATCH] Formatting --- integrations/axum/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integrations/axum/src/lib.rs b/integrations/axum/src/lib.rs index 1fe333270e..90129b26e5 100644 --- a/integrations/axum/src/lib.rs +++ b/integrations/axum/src/lib.rs @@ -776,7 +776,9 @@ async fn generate_response( // Set the Content Type headers on all responses. This makes Firefox show the page source // without complaining let headers = res.headers_mut(); - headers.insert(http::header::CONTENT_TYPE,HeaderValue::from_str("text/html; charset=utf-8").unwrap(), + headers.insert( + http::header::CONTENT_TYPE, + HeaderValue::from_str("text/html; charset=utf-8").unwrap(), ); let mut res_headers = res_options.headers.clone(); headers.extend(res_headers.drain());