From 387fb57c94a5269b5ff560891fdee53a2f3fc554 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 2 Jun 2020 10:57:01 +0900 Subject: Allow unused code for the time being. --- helix-core/src/buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-core/src/buffer.rs') diff --git a/helix-core/src/buffer.rs b/helix-core/src/buffer.rs index 9dd22773..746e01ea 100644 --- a/helix-core/src/buffer.rs +++ b/helix-core/src/buffer.rs @@ -8,7 +8,7 @@ pub struct Buffer { impl Buffer { pub fn load(path: PathBuf) -> Result { - let current_dir = env::current_dir()?; + let _current_dir = env::current_dir()?; let contents = Rope::from_reader(BufReader::new(File::open(path)?))?; -- cgit v1.2.3-70-g09d2