aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_derive/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_derive/src/config.rs b/askama_derive/src/config.rs
index 01f81a2..7764c70 100644
--- a/askama_derive/src/config.rs
+++ b/askama_derive/src/config.rs
@@ -249,7 +249,7 @@ struct RawEscaper<'a> {
}
pub(crate) fn read_config_file(
- config_path: &Option<String>,
+ config_path: Option<&str>,
) -> std::result::Result<String, CompileError> {
let root = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
let filename = match config_path {