]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #88230 - steffahn:a_an, r=oli-obk
authorMara Bos <m-ou.se@m-ou.se>
Mon, 23 Aug 2021 18:45:49 +0000 (20:45 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Aug 2021 18:45:49 +0000 (20:45 +0200)
commit5cf025f076e76d235cc3e795a22499cff9f4fc62
treeec87c9302f210569542f1e7c0bbc68e2978d930c
parent6d1c5b63607336c61926b3036aeea7b8c3fbb094
parent2f9ddf3bc7cfa79d272b1409be80905be946d831
Rollup merge of #88230 - steffahn:a_an, r=oli-obk

Fix typos “a”→“an”

Fix typos in comments; found using a regex to find some easy instance of incorrect usage of a vs. an.

While automation was used to find these, every change was checked manually.

Changes in submodules get separate PRs:
* https://github.com/rust-lang/stdarch/pull/1201
* https://github.com/rust-lang/cargo/pull/9821
* https://github.com/rust-lang/miri/pull/1874
* https://github.com/rust-lang/rls/pull/1746
* https://github.com/rust-analyzer/rust-analyzer/pull/9984
  _folks @ rust-analyzer are fast at merging…_
  * https://github.com/rust-analyzer/rust-analyzer/pull/9985
  * https://github.com/rust-analyzer/rust-analyzer/pull/9987
  * https://github.com/rust-analyzer/rust-analyzer/pull/9989

_For `clippy`, I don’t know if the changes should better better be moved to a PR to the original repo._

<hr>

This has some overlap with #88226, but neither is a strict superset of the other.

If you want multiple commits, I can split it up; in that case, make sure to suggest a criterion for splitting.
compiler/rustc_lint_defs/src/builtin.rs
compiler/rustc_middle/src/middle/region.rs
compiler/rustc_resolve/src/lib.rs
compiler/rustc_typeck/src/check/closure.rs
compiler/rustc_typeck/src/check/fn_ctxt/mod.rs
library/std/src/collections/hash/map.rs
src/tools/clippy/clippy_utils/src/lib.rs