docs: Replace std::iterator with std::iter.
auto merge of #10252 : huonw/rust/docs, r=alexcrichton