Skip to content

Commit

Permalink
Use .eq
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 4, 2024
1 parent d517e6d commit f43ecab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub struct Layer {
impl PartialEq for Layer {
#[inline]
fn eq(&self, other: &Self) -> bool {
self.layer == other.layer
self.layer.eq(&other.layer)
}
}

Expand Down

0 comments on commit f43ecab

Please sign in to comment.