forked from matteo/serves3
Remove useless braces
This commit is contained in:
parent
221eb9dbc6
commit
eef3c679f0
|
@ -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)]
|
||||||
|
|
Loading…
Reference in New Issue