Skip to content

Commit 3a6093e

Browse files
remove Clean trait implementation for hir::IsAuto
1 parent a72e96c commit 3a6093e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/librustdoc/clean/mod.rs

-9
Original file line numberDiff line numberDiff line change
@@ -995,15 +995,6 @@ impl<'tcx> Clean<'tcx, FnRetTy> for hir::FnRetTy<'tcx> {
995995
}
996996
}
997997

998-
impl<'tcx> Clean<'tcx, bool> for hir::IsAuto {
999-
fn clean(&self, _: &mut DocContext<'tcx>) -> bool {
1000-
match *self {
1001-
hir::IsAuto::Yes => true,
1002-
hir::IsAuto::No => false,
1003-
}
1004-
}
1005-
}
1006-
1007998
impl<'tcx> Clean<'tcx, Path> for hir::TraitRef<'tcx> {
1008999
fn clean(&self, cx: &mut DocContext<'tcx>) -> Path {
10091000
let path = clean_path(self.path, cx);

0 commit comments

Comments
 (0)