1
Fork 0

Merge commit '3e7c6dec24' into clippyup

This commit is contained in:
flip1995 2020-11-23 13:51:04 +01:00
parent 113c1476c9
commit d3d2018ead
141 changed files with 3104 additions and 876 deletions

View file

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