Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit 372ea9d

Browse files
stepanchegfacebook-github-bot
authored andcommitted
Remove redundant ::{self}
Summary: Left after mass reformatting. `foo::{self}` conversion to `foo` is not equivalent, that's why `rustfmt` doesn't do it. Reviewed By: ndmitchell Differential Revision: D37335581 fbshipit-source-id: df7de0dead5fa0ce735e963e1b977a8450cd7699
1 parent 212d0e5 commit 372ea9d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

gazebo_lint/src/clippy.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ use rustc_hir::ExprKind;
2222
use rustc_hir::Impl;
2323
use rustc_hir::Item;
2424
use rustc_hir::ItemKind;
25-
use rustc_hir::{self};
2625
use rustc_infer::infer::TyCtxtInferExt;
2726
use rustc_lint::LateContext;
2827
use rustc_middle::traits;
@@ -31,7 +30,6 @@ use rustc_middle::ty::Ty;
3130
use rustc_middle::ty::TyKind;
3231
use rustc_span::symbol::Symbol;
3332
use rustc_span::Span;
34-
use rustc_span::{self};
3533
use rustc_trait_selection::traits::predicate_for_trait_def;
3634
use rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt;
3735
use rustc_typeck::hir_ty_to_ty;

0 commit comments

Comments
 (0)