Run rustfix
This commit is contained in:
parent
26f3feb980
commit
424a33720d
112 changed files with 182 additions and 182 deletions
|
@ -5,7 +5,7 @@ use rustc::ty;
|
|||
use std::collections::HashSet;
|
||||
use syntax::ast::{Lit, LitKind, Name};
|
||||
use syntax::codemap::{Span, Spanned};
|
||||
use utils::{get_item_name, in_macro, snippet, span_lint, span_lint_and_sugg, walk_ptrs_ty};
|
||||
use crate::utils::{get_item_name, in_macro, snippet, span_lint, span_lint_and_sugg, walk_ptrs_ty};
|
||||
|
||||
/// **What it does:** Checks for getting the length of something via `.len()`
|
||||
/// just to compare to zero, and suggests using `.is_empty()` where applicable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue