Fix clippy lints
diff --git a/vello_encoding/src/encoding.rs b/vello_encoding/src/encoding.rs index 17ac75d..47f88ef 100644 --- a/vello_encoding/src/encoding.rs +++ b/vello_encoding/src/encoding.rs
@@ -518,7 +518,7 @@ return false; } } - return true; + true } }
diff --git a/vello_encoding/src/path.rs b/vello_encoding/src/path.rs index 2e1fb5a..10552c4 100644 --- a/vello_encoding/src/path.rs +++ b/vello_encoding/src/path.rs
@@ -622,7 +622,7 @@ // can't happen return; } - if &self.path_data[len - 2..len] != &self.first_point { + if self.path_data[len - 2..len] != self.first_point { self.path_data.extend_from_slice(&self.first_point); self.tags.push(PathTag::LINE_TO_F32); self.n_encoded_segments += 1;