From d4c13f5b4367fd3ca57fc14fdcf1d01694060c7a Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Wed, 15 Jun 2022 22:57:18 +0200 Subject: Replace `&Option>` with `Option<&T>` (#696) No need to work on references to references. --- askama_derive/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_derive/src/config.rs') 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, + config_path: Option<&str>, ) -> std::result::Result { let root = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap()); let filename = match config_path { -- cgit