1
Fork 0

Run rustfix

This commit is contained in:
Mateusz Mikuła 2018-05-30 10:15:50 +02:00 committed by Mateusz Mikuła
parent 26f3feb980
commit 424a33720d
112 changed files with 182 additions and 182 deletions

View file

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