From 0fe19ae47243ccb495f498a70767e870614f56e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= <blaz@mxxn.io>
Date: Sat, 8 May 2021 18:26:49 +0900
Subject: [PATCH] clippy lint

---
 helix-term/src/ui/prompt.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helix-term/src/ui/prompt.rs b/helix-term/src/ui/prompt.rs
index 6534f929..0c2c1d8a 100644
--- a/helix-term/src/ui/prompt.rs
+++ b/helix-term/src/ui/prompt.rs
@@ -165,7 +165,7 @@ impl Prompt {
             let text = ui::Text::new(doc.to_string());
 
             let area = Rect::new(
-                completion_area.x + 0,
+                completion_area.x,
                 completion_area.y - 3,
                 completion_area.width,
                 3,