diff --git a/web/src/static_assets.rs b/web/src/static_assets.rs index 4fd72be..b9df621 100644 --- a/web/src/static_assets.rs +++ b/web/src/static_assets.rs @@ -19,8 +19,7 @@ pub(crate) fn dist(file: PathBuf) -> Option<(ContentType, Cow<'static, [u8]>)> { } [".html", "/index.html"].iter().find_map(|ext| { - Asset::get(&format!("{}{}", file.display(), ext)) - .map(|a| (ContentType::HTML, a.data)) + Asset::get(&format!("{}{}", file.display(), ext)).map(|a| (ContentType::HTML, a.data)) }) }