These are chat archives for rust-lang/rust
2.0to a T (f32 or f64)
From<f32>trait implemented for f32 and f64.
T::from(2.0f32)would probably work.
Option, hence formulations like
((d_lon / 2.0).sin()) * ((d_lon / 2.0).sin()) * (lat1.cos()) * (lat2.cos());as quite unreadle
<T: From<f32>>I believe.
300u16will result in
Fromtrait disallows such a conversion so you should convert from
f64, which was what I suggested above.
[[&Player; SIZE]; SIZE]work?
Nothings everywhere by default?
[[None; SIZE]; SIZE]
SIZEwill be around
10^4, most probably more.
is #rust usually this inactive?
This gitter channel is not an official communication channel, so yes, this is normal.