diff options
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index 03b54ce..6995e24 100644 --- a/src/config.rs +++ b/src/config.rs @@ -24,7 +24,7 @@ struct InputConfiguration { impl InputConfiguration { fn read(filename: &Path) -> Result<Self, JournalError> { - let text = std::fs::read(&filename) + let text = std::fs::read(filename) .map_err(|err| JournalError::ReadConfig(filename.to_path_buf(), err))?; let config = serde_yaml::from_slice(&text) .map_err(|err| JournalError::ConfigSyntax(filename.to_path_buf(), err))?; |