clippy fixes for rust 1.53

This commit is contained in:
Emil Ernerfeldt
2021-06-22 23:38:34 +02:00
parent 60fd70921d
commit 269a4538d9
11 changed files with 24 additions and 25 deletions
+2
View File
@@ -583,6 +583,8 @@ impl Galley {
#[test]
fn test_text_layout() {
#![allow(clippy::bool_assert_comparison)]
impl PartialEq for Cursor {
fn eq(&self, other: &Cursor) -> bool {
(self.ccursor, self.rcursor, self.pcursor)