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