about summary refs log tree commit diff
path: root/lintcheck
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2021-12-06 12:33:31 +0100
committerflip1995 <philipp.krones@embecosm.com>2021-12-06 12:33:31 +0100
commit8fea1d94f3bbcc02c3822dd43da9a1133e90f715 (patch)
treec571ad0e3fb19726b5e0fbe9df641885ddf0524d /lintcheck
parent35a0060aba4bc9ff4e2b8faa20b91762c3109b18 (diff)
Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup
Diffstat (limited to 'lintcheck')
-rw-r--r--lintcheck/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lintcheck/src/main.rs b/lintcheck/src/main.rs
index 97d3794fb84..41de2576e28 100644
--- a/lintcheck/src/main.rs
+++ b/lintcheck/src/main.rs
@@ -563,7 +563,7 @@ fn parse_json_message(json_message: &str, krate: &Crate) -> ClippyWarning {
     }
 }
 
-/// Generate a short list of occuring lints-types and their count
+/// Generate a short list of occurring lints-types and their count
 fn gather_stats(clippy_warnings: &[ClippyWarning]) -> (String, HashMap<&String, usize>) {
     // count lint type occurrences
     let mut counter: HashMap<&String, usize> = HashMap::new();
@@ -718,7 +718,7 @@ pub fn main() {
             // quarter of the time which might result in a longer wall clock runtime
 
             // This helps when we check many small crates with dep-trees that don't have a lot of branches in
-            // order to achive some kind of parallelism
+            // order to achieve some kind of parallelism
 
             // by default, use a single thread
             let num_cpus = config.max_jobs;