on master help sign in
Fix double must_use.
563e094Blaž Hrastnik
helix-core/src/state.rs−1
@@ -42,7 +42,6 @@ impl State {
42 }
42 }
43 }
43 }
44
44
45− #[must_use]
46 pub fn load(path: PathBuf) -> Result<Self, Error> {
45 pub fn load(path: PathBuf) -> Result<Self, Error> {
47 use std::{env, fs::File, io::BufReader, path::PathBuf};
46 use std::{env, fs::File, io::BufReader, path::PathBuf};
48 let _current_dir = env::current_dir()?;
47 let _current_dir = env::current_dir()?;