diff --git a/src/helpers/toml.rs b/src/helpers/toml.rs index 6f0151c..0e71639 100644 --- a/src/helpers/toml.rs +++ b/src/helpers/toml.rs @@ -30,7 +30,7 @@ pub fn from_reader(mut r: R) -> Result { pub fn from_file>(path: P) -> Result { let path = path.as_ref(); let file = File::open(path)?; - Ok(from_reader(file)?) + from_reader(file) } /// Attempts to serialize a Data struct to a String