neon_arch commited on
Commit
d894370
β€’
1 Parent(s): 93afb6b

🚨 chore: make cargo format checks happy (#461)

Browse files
Files changed (1) hide show
  1. src/server/router.rs +11 -11
src/server/router.rs CHANGED
@@ -72,15 +72,15 @@ pub async fn settings(
72
  config: web::Data<Config>,
73
  ) -> Result<HttpResponse, Box<dyn std::error::Error>> {
74
  Ok(HttpResponse::Ok()
75
- .content_type("text/html; charset=utf-8")
76
- .body(
77
- crate::templates::views::settings::settings(
78
- config.safe_search,
79
- &config.style.colorscheme,
80
- &config.style.theme,
81
- &config.style.animation,
82
- &config.upstream_search_engines,
83
- )?
84
- .0,
85
- ))
86
  }
 
72
  config: web::Data<Config>,
73
  ) -> Result<HttpResponse, Box<dyn std::error::Error>> {
74
  Ok(HttpResponse::Ok()
75
+ .content_type("text/html; charset=utf-8")
76
+ .body(
77
+ crate::templates::views::settings::settings(
78
+ config.safe_search,
79
+ &config.style.colorscheme,
80
+ &config.style.theme,
81
+ &config.style.animation,
82
+ &config.upstream_search_engines,
83
+ )?
84
+ .0,
85
+ ))
86
  }