From b5a61aa901df6043e7bac6c324df4f8858209d3e Mon Sep 17 00:00:00 2001 From: togami2864 Date: Thu, 18 Nov 2021 17:37:00 +0900 Subject: [PATCH] fix typo --- lintcheck/src/main.rs | 4 ++-- 1 file 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;