Address some spelling mistakes in strings, private function names, and function params.
For more information about how rustc works, see the rustc dev guide.