From 563e094916b6e0d3ef0fafe8141372116e35ebde Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 8 Sep 2020 21:06:39 +0900 Subject: Fix double must_use. --- helix-core/src/state.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'helix-core') diff --git a/helix-core/src/state.rs b/helix-core/src/state.rs index c3a5c3cd..67f23009 100644 --- a/helix-core/src/state.rs +++ b/helix-core/src/state.rs @@ -42,7 +42,6 @@ impl State { } } - #[must_use] pub fn load(path: PathBuf) -> Result { use std::{env, fs::File, io::BufReader, path::PathBuf}; let _current_dir = env::current_dir()?; -- cgit v1.2.3-70-g09d2