Skip to content

Commit

Permalink
Implement Hash and Eq to IntSize (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV authored Nov 18, 2024
1 parent 2cba78f commit 646989a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion path/src/size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::NoStdFloat;
/// # Guarantees
///
/// - Width and height are positive and non-zero.
#[derive(Copy, Clone, PartialEq, Debug)]
#[derive(Copy, Clone, PartialEq, Debug, Hash, Eq)]
pub struct IntSize {
width: LengthU32,
height: LengthU32,
Expand Down

0 comments on commit 646989a

Please sign in to comment.