Use unused result
This commit is contained in:
parent
876a5ad78c
commit
d523c432c3
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue