]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo
authormcarton <cartonmartin+git@gmail.com>
Fri, 5 Feb 2016 18:43:21 +0000 (19:43 +0100)
committermcarton <cartonmartin+git@gmail.com>
Sun, 7 Feb 2016 12:27:09 +0000 (13:27 +0100)
README.md
src/copies.rs

index 01999cce70b90775a7878dbf43b7d3f51e00d3a1..d134afe8a8e6eec9158d9fa16d5154b3f5925cd9 100644 (file)
--- 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
 ---------------------------------------------------------------------------------------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
index 38f1be92d3049cbda9de517c6cdcd119a0c00ec4..84324dffc8591a9063033be506a1684428bb0926 100644 (file)
@@ -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![];