aboutsummaryrefslogtreecommitdiff
path: root/src/term/cell.rs
diff options
context:
space:
mode:
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]