• RustyNova@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    While I get your proposal, I’d think this would make dealing with float hell. Do you really want to .unwrap() every time you deal with it? Surely not.

    One thing that would be great, is that the / operator could work between Result and f64, as well as between Result and Result. Would be like doing a .map(|left| left / right) operation.