This commit is contained in:
mcarton 2016-02-05 19:43:21 +01:00
parent cd7a913200
commit 344698377f
2 changed files with 2 additions and 2 deletions

View file

@ -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
---------------------------------------------------------------------------------------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

View 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![];