Use unused result

This commit is contained in:
Matthias Beyer 2016-03-25 16:01:42 +01:00
parent 876a5ad78c
commit d523c432c3

View file

@ -235,7 +235,7 @@ fn fetch_config(rtp: &PathBuf) -> Result<Value> {
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()