diff options
author | Blaž Hrastnik | 2020-09-08 12:06:39 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-09-08 12:06:39 +0000 |
commit | 563e094916b6e0d3ef0fafe8141372116e35ebde (patch) | |
tree | 869f5734c2bd63399c91d213471ee66a7138e4bf | |
parent | e282fc75951f7877f8e59fe5421f57e1dcbc0d73 (diff) |
Fix double must_use.
-rw-r--r-- | helix-core/src/state.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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<Self, Error> { use std::{env, fs::File, io::BufReader, path::PathBuf}; let _current_dir = env::current_dir()?; |