You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Rust 1.68.0, From<bool> is implemented on f32 and f64. It is not very clear how a Boolean value could be converted into a float and the documentation offers no explanation - I had to look at the actual implementation to figure out the output value. It seems sensible that the output of this implementation of From be given in the documentation.