PartialEq works with results too.

This commit is contained in:
Tom Alexander 2020-05-10 21:00:52 -04:00
parent 7f89685537
commit ba79369b5a
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -248,7 +248,10 @@ impl<'a> DustRenderer<'a> {
// if left_side.unwrap().equals(right_side.unwrap()) {
// 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");
}
// let x = WalkError::CantWalk;