mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
Fix double must_use.
This commit is contained in:
parent
e282fc7595
commit
563e094916
@ -42,7 +42,6 @@ pub fn new(doc: Rope) -> Self {
|
||||
}
|
||||
}
|
||||
|
||||
#[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()?;
|
||||
|
Loading…
Reference in New Issue
Block a user