Fix double must_use.

pull/1/head
Blaž Hrastnik 4 years ago
parent e282fc7595
commit 563e094916

@ -42,7 +42,6 @@ impl State {
} }
} }
#[must_use]
pub fn load(path: PathBuf) -> Result<Self, Error> { pub fn load(path: PathBuf) -> Result<Self, Error> {
use std::{env, fs::File, io::BufReader, path::PathBuf}; use std::{env, fs::File, io::BufReader, path::PathBuf};
let _current_dir = env::current_dir()?; let _current_dir = env::current_dir()?;

Loading…
Cancel
Save