Fix some typos.
auto merge of #12421 : Hywan/rust/api_doc, r=alexcrichton

I was reading the code and saw this. Not the best contribution of my life ;-).