aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/buffer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/buffer.rs')
-rw-r--r--helix-core/src/buffer.rs2
1 files changed, 1 insertions, 1 deletions
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<Self, Error> {
- let current_dir = env::current_dir()?;
+ let _current_dir = env::current_dir()?;
let contents = Rope::from_reader(BufReader::new(File::open(path)?))?;