From 14224be23dc2f253a240b85214927d97e1160669 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Sun, 30 Jul 2017 13:20:36 -0700 Subject: Remove ConfigResult; close #36 --- src/file/format/mod.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/file/format/mod.rs') diff --git a/src/file/format/mod.rs b/src/file/format/mod.rs index 5aa1acb..a90dfda 100644 --- a/src/file/format/mod.rs +++ b/src/file/format/mod.rs @@ -63,10 +63,11 @@ impl FileFormat { // TODO: pub(crate) #[doc(hidden)] #[allow(unused_variables)] - pub fn parse(&self, - uri: Option<&String>, - text: &str) - -> Result, Box> { + pub fn parse( + &self, + uri: Option<&String>, + text: &str, + ) -> Result, Box> { match *self { #[cfg(feature = "toml")] FileFormat::Toml => toml::parse(uri, text), -- cgit v1.2.3