From 344698377f04124a5df01e498e55c3e27eac294d Mon Sep 17 00:00:00 2001 From: mcarton Date: Fri, 5 Feb 2016 19:43:21 +0100 Subject: [PATCH] Fix typo --- README.md | 2 +- src/copies.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01999cce70b9..d134afe8a8e6 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A collection of lints to catch common mistakes and improve your Rust code. [Jump to usage instructions](#usage) ##Lints -There are 114 lints included in this crate: +There are 116 lints included in this crate: name | default | meaning ---------------------------------------------------------------------------------------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ diff --git a/src/copies.rs b/src/copies.rs index 38f1be92d304..84324dffc859 100644 --- a/src/copies.rs +++ b/src/copies.rs @@ -87,7 +87,7 @@ fn lint_same_cond(cx: &LateContext, expr: &Expr) { } } -/// Return the list of conditions expression in a sequence of `if/else`. +/// Return the list of condition expressions in a sequence of `if/else`. /// Eg. would return `[a, b]` for the expression `if a {..} else if b {..}`. fn condition_sequence(mut expr: &Expr) -> Vec<&Expr> { let mut result = vec![];