aboutsummaryrefslogtreecommitdiff
path: root/src/grid/storage.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/grid/storage.rs')
-rw-r--r--src/grid/storage.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/grid/storage.rs b/src/grid/storage.rs
index fb66b0c3..50ce6aa5 100644
--- a/src/grid/storage.rs
+++ b/src/grid/storage.rs
@@ -22,16 +22,6 @@ pub struct Storage<T> {
visible_lines: Line,
}
-impl<T: PartialEq> ::std::cmp::PartialEq for Storage<T> {
- fn eq(&self, other: &Self) -> bool {
- let mut equal = true;
- for i in IndexRange(Line(0) .. self.visible_lines) {
- equal = equal && (self[i] == other[i])
- }
- equal
- }
-}
-
impl<T> Storage<T> {
#[inline]
pub fn with_capacity(cap: usize, lines: Line) -> Storage<T> {