aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-03 01:31:14 +0000
committerBlaž Hrastnik2021-06-03 01:31:14 +0000
commit6dba1e7ec76c1e7e70315bdc7552dc5de6c212ff (patch)
treeef2bd616d7a137cc413887ed6a56a6907e689be4
parentc0332bd935bb7c016278d43a526e588558a0cab1 (diff)
Clippy lint
-rw-r--r--helix-term/src/compositor.rs2
1 files changed, 1 insertions, 1 deletions
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)