Skip to content

Optimization in PartialEq? #54

@Lucretiel

Description

@Lucretiel

} else if other.as_ref().is_nan() {
false
} else {
self.as_ref() == other.as_ref()
}

Can this be replaced with self.as_ref() == other.as_ref()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions