diff options
author | Blaž Hrastnik | 2021-06-03 01:31:14 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-03 01:31:14 +0000 |
commit | 6dba1e7ec76c1e7e70315bdc7552dc5de6c212ff (patch) | |
tree | ef2bd616d7a137cc413887ed6a56a6907e689be4 /helix-term/src | |
parent | c0332bd935bb7c016278d43a526e588558a0cab1 (diff) |
Clippy lint
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/compositor.rs | 2 |
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) |