From 6dba1e7ec76c1e7e70315bdc7552dc5de6c212ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Thu, 3 Jun 2021 10:31:14 +0900 Subject: [PATCH] Clippy lint --- helix-term/src/compositor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/compositor.rs b/helix-term/src/compositor.rs index 967ea034..9811655c 100644 --- a/helix-term/src/compositor.rs +++ b/helix-term/src/compositor.rs @@ -131,7 +131,7 @@ impl Compositor { let surface = self.terminal.current_buffer_mut(); - let area = surface.area().clone(); + let area = *surface.area(); for layer in &self.layers { layer.render(area, surface, cx)