Skip to content

Commit 646989a

Browse files
authored
Implement Hash and Eq to IntSize (#133)
1 parent 2cba78f commit 646989a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

path/src/size.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use crate::NoStdFloat;
1515
/// # Guarantees
1616
///
1717
/// - Width and height are positive and non-zero.
18-
#[derive(Copy, Clone, PartialEq, Debug)]
18+
#[derive(Copy, Clone, PartialEq, Debug, Hash, Eq)]
1919
pub struct IntSize {
2020
width: LengthU32,
2121
height: LengthU32,

0 commit comments

Comments
 (0)