@@ -16,16 +16,16 @@ use rustc::{declare_lint_pass, declare_tool_lint};
1616use rustc_errors:: Applicability ;
1717use syntax:: ast;
1818use syntax:: source_map:: Span ;
19- use syntax:: symbol:: { sym, Symbol , LocalInternedString } ;
19+ use syntax:: symbol:: { sym, LocalInternedString , Symbol } ;
2020
2121use crate :: utils:: usage:: mutated_variables;
2222use crate :: utils:: {
2323 get_arg_name, get_parent_expr, get_trait_def_id, has_iter_method, implements_trait, in_macro, is_copy,
2424 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,
2626 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 ,
2929} ;
3030
3131declare_clippy_lint ! {
@@ -2988,7 +2988,7 @@ fn contains_return(expr: &hir::Expr) -> bool {
29882988 }
29892989 }
29902990
2991- let mut visitor = RetCallFinder { found : false } ;
2991+ let mut visitor = RetCallFinder { found : false } ;
29922992 visitor. visit_expr ( expr) ;
29932993 visitor. found
29942994}
0 commit comments