Skip to content

Unhelpful Display implementation for FloatIsNaN #24

@dtolnay

Description

@dtolnay
extern crate ordered_float;

fn main() {
    println!("{}", ordered_float::NotNaN::new(::std::f64::NAN).unwrap_err());
}
FloatIsNan

This message (and Display output in general) should be designed to be human-readable and self explanatory. PascalCase belongs in Debug impls.

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