1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

Fix double must_use.

This commit is contained in:
Blaž Hrastnik 2020-09-08 21:06:39 +09:00
parent e282fc7595
commit 563e094916

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