aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_shared/src/lib.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs
index 2b82782..ad8a1b5 100644
--- a/askama_shared/src/lib.rs
+++ b/askama_shared/src/lib.rs
@@ -27,8 +27,10 @@ impl Config {
let root = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
let filename = root.join(CONFIG_FILE_NAME);
if filename.exists() {
- Self::from_str(&fs::read_to_string(&filename)
- .expect(&format!("unable to read {}", filename.to_str().unwrap())))
+ Self::from_str(
+ &fs::read_to_string(&filename)
+ .expect(&format!("unable to read {}", filename.to_str().unwrap())),
+ )
} else {
Self::from_str("")
}