Add a bug
This commit is contained in:
parent
3787fe47fd
commit
61f83d6de1
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ impl Rectangle {
|
|||
}
|
||||
|
||||
fn can_hold(&self, other: &Rectangle) -> bool {
|
||||
self.width > other.width && self.height > other.height
|
||||
self.width < other.width && self.height > other.height
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue