From d523c432c3565d555595d9f54342a2235399805e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 25 Mar 2016 16:01:42 +0100 Subject: [PATCH] Use unused result --- libimagrt/src/configuration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagrt/src/configuration.rs b/libimagrt/src/configuration.rs index a7a2e48d..f35b8087 100644 --- a/libimagrt/src/configuration.rs +++ b/libimagrt/src/configuration.rs @@ -235,7 +235,7 @@ fn fetch_config(rtp: &PathBuf) -> Result { if f.is_err() { } let mut f = f.unwrap(); - f.read_to_string(&mut s); + f.read_to_string(&mut s).ok(); s }; Parser::new(&content[..]).parse()