mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-26 06:30:32 +00:00
Fix typo
This commit is contained in:
parent
cd7a913200
commit
344698377f
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
---------------------------------------------------------------------------------------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -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![];
|
||||
|
|
Loading…
Reference in a new issue