From eef3c679f06f8790681bdf8e343b94c990c3d4e2 Mon Sep 17 00:00:00 2001 From: Matteo Settenvini Date: Sun, 2 Jul 2023 18:19:46 +0200 Subject: [PATCH] Remove useless braces --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index c099f3a..11096f8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -59,8 +59,7 @@ lazy_static! { s3::bucket::Bucket::new(&SETTINGS.bucket_name, region, credentials) .expect("Cannot find or authenticate to S3 bucket") }; - static ref FILEVIEW_TEMPLATE: &'static str = - { std::include_str!("../templates/index.html.tera") }; + static ref FILEVIEW_TEMPLATE: &'static str = std::include_str!("../templates/index.html.tera"); } #[derive(Responder)]