Fix usage of <float> in docs

The example for std::rand::random was still
using <float>, which got removed from Rust.
auto merge of #9800 : vmx/rust/fix-random-doc, r=thestinger

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