Skip to content

Commit 32c74b8

Browse files
committed
fix linting in hash function
1 parent 6a29c4c commit 32c74b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vm/src/protocol/object.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,10 +646,10 @@ impl PyObject {
646646
return hash(self, vm);
647647
}
648648

649-
return Err(vm.new_exception_msg(
649+
Err(vm.new_exception_msg(
650650
vm.ctx.exceptions.type_error.to_owned(),
651651
format!("unhashable type: '{}'", self.class().name()),
652-
));
652+
))
653653
}
654654

655655
// type protocol

0 commit comments

Comments
 (0)