Merge commit '3e7c6dec24
' into clippyup
This commit is contained in:
parent
113c1476c9
commit
d3d2018ead
141 changed files with 3104 additions and 876 deletions
|
@ -69,7 +69,7 @@ declare_clippy_lint! {
|
|||
}
|
||||
|
||||
declare_clippy_lint! {
|
||||
/// **What it does:** Checks for comparing to an empty slice such as "" or [],`
|
||||
/// **What it does:** Checks for comparing to an empty slice such as `""` or `[]`,
|
||||
/// and suggests using `.is_empty()` where applicable.
|
||||
///
|
||||
/// **Why is this bad?** Some structures can answer `.is_empty()` much faster
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue