update for rust: Eq renames to PartialEq