inline a variable

This commit is contained in:
iliana etaoin 2023-04-06 13:04:40 -07:00
parent 5cb522d78e
commit bcd65caba7
1 changed files with 1 additions and 3 deletions

View File

@ -145,10 +145,8 @@ struct Code {
#[get("/code")]
fn code() -> Code {
let zip = include_bytes!(concat!(env!("OUT_DIR"), "/source.zip"));
Code {
zip,
zip: include_bytes!(concat!(env!("OUT_DIR"), "/source.zip")),
content_type: ContentType::ZIP,
disposition: Header::new(
"content-disposition",