aboutsummaryrefslogtreecommitdiffstats
path: root/src/cell.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-11-12 03:25:26 -0500
committerJesse Luehrs <doy@tozt.net>2021-11-12 03:25:26 -0500
commita0612445e3225324276632e38928e505307d0a96 (patch)
tree2e4bb3e2b7d7b37fd604e792d5b005571b137a0b /src/cell.rs
parentf9f4633e9ecf39a5e706323e33be5feaf578ae8d (diff)
downloadvt100-rust-a0612445e3225324276632e38928e505307d0a96.tar.gz
vt100-rust-a0612445e3225324276632e38928e505307d0a96.zip
clippy
Diffstat (limited to 'src/cell.rs')
-rw-r--r--src/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cell.rs b/src/cell.rs
index aa1b718..7262c8d 100644
--- a/src/cell.rs
+++ b/src/cell.rs
@@ -11,7 +11,7 @@ pub struct Cell {
}
#[allow(clippy::collapsible_if)]
-impl PartialEq<Cell> for Cell {
+impl PartialEq<Self> for Cell {
fn eq(&self, other: &Self) -> bool {
if self.len != other.len {
return false;