Skip to content

Commit 9f8fd07

Browse files
committed
Fix style
1 parent 25828f2 commit 9f8fd07

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/web/embed.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ fn gen_etag(asset: &EmbeddedFile) -> ETag<'static> {
3434
ETag::new_strong(URL_SAFE_NO_PAD.encode(asset.metadata.sha256_hash()))
3535
}
3636

37-
fn response_builder(asset: &EmbeddedFile, #[allow(unused)] cache_busting: bool) -> Builder<'static> {
37+
fn response_builder(
38+
asset: &EmbeddedFile,
39+
#[allow(unused)] cache_busting: bool,
40+
) -> Builder<'static> {
3841
let mut res = Response::build();
3942
res.raw_header("ETag", gen_etag_header(asset));
4043
#[cfg(not(debug_assertions))]

0 commit comments

Comments
 (0)