PartialEq works with results too.
This commit is contained in:
parent
7f89685537
commit
ba79369b5a
@ -248,7 +248,10 @@ impl<'a> DustRenderer<'a> {
|
|||||||
// if left_side.unwrap().equals(right_side.unwrap()) {
|
// if left_side.unwrap().equals(right_side.unwrap()) {
|
||||||
// panic!("testing");
|
// panic!("testing");
|
||||||
// }
|
// }
|
||||||
if left_side.unwrap() == right_side.unwrap() {
|
// if left_side.unwrap() == right_side.unwrap() {
|
||||||
|
// panic!("testing");
|
||||||
|
// }
|
||||||
|
if left_side == right_side {
|
||||||
panic!("testing");
|
panic!("testing");
|
||||||
}
|
}
|
||||||
// let x = WalkError::CantWalk;
|
// let x = WalkError::CantWalk;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user