Fix usage of <float> in docs

The example for std::rand::random was still
using <float>, which got removed from Rust.