@@ -16,16 +16,16 @@ use rustc::{declare_lint_pass, declare_tool_lint};
16
16
use rustc_errors:: Applicability ;
17
17
use syntax:: ast;
18
18
use syntax:: source_map:: Span ;
19
- use syntax:: symbol:: { sym, Symbol , LocalInternedString } ;
19
+ use syntax:: symbol:: { sym, LocalInternedString , Symbol } ;
20
20
21
21
use crate :: utils:: usage:: mutated_variables;
22
22
use crate :: utils:: {
23
23
get_arg_name, get_parent_expr, get_trait_def_id, has_iter_method, implements_trait, in_macro, is_copy,
24
24
is_ctor_function, is_expn_of, is_type_diagnostic_item, iter_input_pats, last_path_segment, match_def_path,
25
- match_qpath, match_trait_method, match_type, match_var, method_calls, method_chain_args, remove_blocks,
25
+ match_qpath, match_trait_method, match_type, match_var, method_calls, method_chain_args, paths , remove_blocks,
26
26
return_ty, same_tys, single_segment_path, snippet, snippet_with_applicability, snippet_with_macro_callsite,
27
- span_lint, span_lint_and_sugg, span_lint_and_then, span_note_and_lint, walk_ptrs_ty , walk_ptrs_ty_depth ,
28
- SpanlessEq , sugg , paths , span_help_and_lint
27
+ span_help_and_lint , span_lint, span_lint_and_sugg, span_lint_and_then, span_note_and_lint, sugg , walk_ptrs_ty ,
28
+ walk_ptrs_ty_depth , SpanlessEq ,
29
29
} ;
30
30
31
31
declare_clippy_lint ! {
@@ -2988,7 +2988,7 @@ fn contains_return(expr: &hir::Expr) -> bool {
2988
2988
}
2989
2989
}
2990
2990
2991
- let mut visitor = RetCallFinder { found : false } ;
2991
+ let mut visitor = RetCallFinder { found : false } ;
2992
2992
visitor. visit_expr ( expr) ;
2993
2993
visitor. found
2994
2994
}
0 commit comments