From 563e094916b6e0d3ef0fafe8141372116e35ebde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Tue, 8 Sep 2020 21:06:39 +0900 Subject: [PATCH] Fix double must_use. --- helix-core/src/state.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/helix-core/src/state.rs b/helix-core/src/state.rs index c3a5c3cd8..67f230090 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()?;