From ccfef8eee4579cbab46b8079daaa2570e5bcd0a1 Mon Sep 17 00:00:00 2001 From: Omnikar Date: Wed, 3 Nov 2021 21:09:04 -0400 Subject: [PATCH] Address compiler bug with variable shadowing --- helix-tui/src/buffer.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/helix-tui/src/buffer.rs b/helix-tui/src/buffer.rs index 83b65e314ae12..f480bc2f35129 100644 --- a/helix-tui/src/buffer.rs +++ b/helix-tui/src/buffer.rs @@ -344,7 +344,6 @@ impl Buffer { self.content[i].reset(); } index -= width; - x_offset -= width; } } (x_offset as u16, y)