fix some examples in std::rand::Rng
auto merge of #9715 : flo-l/rust/doc-fixes, r=alexcrichton