about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2022-03-15 02:00:08 +0100
committerDylan DPC <dylan.dpc@gmail.com>2022-03-15 02:00:08 +0100
commit5ed40229acb46d11b6c37ac53bf85eea3af9bf1d (patch)
tree7d0a395c7709e24da035afa1ea02b7745568b4a1
parentd1b087fdee1024e11498e2d6c3e36d31e9371d3b (diff)
downloadrust-5ed40229acb46d11b6c37ac53bf85eea3af9bf1d.tar.gz
rust-5ed40229acb46d11b6c37ac53bf85eea3af9bf1d.zip
fix typos
-rw-r--r--.github/ISSUE_TEMPLATE/ice.yml2
-rw-r--r--clippy_lints/src/upper_case_acronyms.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/ISSUE_TEMPLATE/ice.yml b/.github/ISSUE_TEMPLATE/ice.yml
index 2a5b8b3c891..81bd9c5e032 100644
--- a/.github/ISSUE_TEMPLATE/ice.yml
+++ b/.github/ISSUE_TEMPLATE/ice.yml
@@ -10,7 +10,7 @@ body:
     attributes:
       label: Summary
       description: |
-        If possible, try to provide a minimal verifiable example. You can read ["Rust Bug Minimization Patterns"][mve] for how to create smaller examples. Otherwise, provide the crate where the ICE occured.
+        If possible, try to provide a minimal verifiable example. You can read ["Rust Bug Minimization Patterns"][mve] for how to create smaller examples. Otherwise, provide the crate where the ICE occurred.
 
         [mve]: http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
     validations:
diff --git a/clippy_lints/src/upper_case_acronyms.rs b/clippy_lints/src/upper_case_acronyms.rs
index 7286d0a7bf9..02bf09ed506 100644
--- a/clippy_lints/src/upper_case_acronyms.rs
+++ b/clippy_lints/src/upper_case_acronyms.rs
@@ -114,7 +114,7 @@ impl LateLintPass<'_> for UpperCaseAcronyms {
                 check_ident(cx, &it.ident, self.upper_case_acronyms_aggressive);
             },
             ItemKind::Enum(ref enumdef, _) => {
-                // check enum variants seperately because again we only want to lint on private enums and
+                // check enum variants separately because again we only want to lint on private enums and
                 // the fn check_variant does not know about the vis of the enum of its variants
                 enumdef
                     .variants