aboutsummaryrefslogtreecommitdiff
path: root/src/term/cell.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2017-01-06 20:44:51 -0800
committerManish Goregaokar <manishsmail@gmail.com>2017-01-06 20:44:51 -0800
commit4e1f4c8cd7180606156b71ad0222f60e4559f2b3 (patch)
tree28d7a983f5639270976de1f794cc54cb349ea4a8 /src/term/cell.rs
parent49187d53f2f8b7cfca9105c3fb00d7c29e2a457b (diff)
downloadalacritty-4e1f4c8cd7180606156b71ad0222f60e4559f2b3.tar.gz
alacritty-4e1f4c8cd7180606156b71ad0222f60e4559f2b3.zip
Clippy fixes!
Diffstat (limited to 'src/term/cell.rs')
-rw-r--r--src/term/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/cell.rs b/src/term/cell.rs
index 499f99b8..021ce280 100644
--- a/src/term/cell.rs
+++ b/src/term/cell.rs
@@ -96,7 +96,7 @@ impl Cell {
#[inline]
pub fn reset(&mut self, template: &Cell) {
// memcpy template to self
- *self = template.clone();
+ *self = *template;
}
#[inline]