forked from matteo/serves3
1
0
Fork 0

Remove useless braces

This commit is contained in:
Matteo Settenvini 2023-07-02 18:19:46 +02:00
parent 221eb9dbc6
commit eef3c679f0
1 changed files with 1 additions and 2 deletions

View File

@ -59,8 +59,7 @@ lazy_static! {
s3::bucket::Bucket::new(&SETTINGS.bucket_name, region, credentials) s3::bucket::Bucket::new(&SETTINGS.bucket_name, region, credentials)
.expect("Cannot find or authenticate to S3 bucket") .expect("Cannot find or authenticate to S3 bucket")
}; };
static ref FILEVIEW_TEMPLATE: &'static str = static ref FILEVIEW_TEMPLATE: &'static str = std::include_str!("../templates/index.html.tera");
{ std::include_str!("../templates/index.html.tera") };
} }
#[derive(Responder)] #[derive(Responder)]