1
0
Fork 0
mirror of https://github.com/helix-editor/helix synced 2024-05-21 04:06:06 +02:00

Fix double must_use.

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

View File

@ -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()?;