about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-08-03 11:38:18 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-08-03 11:39:09 +0200
commit3a6093ebca1071af04c2f4e92bbc4895123255c2 (patch)
tree43d636832eb19b9af96191eb69e5e8bb7b33ea14
parenta72e96c4277d820f294a6bfb3ced7ffbd3db1b6e (diff)
downloadrust-3a6093ebca1071af04c2f4e92bbc4895123255c2.tar.gz
rust-3a6093ebca1071af04c2f4e92bbc4895123255c2.zip
remove Clean trait implementation for hir::IsAuto
-rw-r--r--src/librustdoc/clean/mod.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs
index 9e83021a5fb..07a1c9c3cd5 100644
--- a/src/librustdoc/clean/mod.rs
+++ b/src/librustdoc/clean/mod.rs
@@ -995,15 +995,6 @@ impl<'tcx> Clean<'tcx, FnRetTy> for hir::FnRetTy<'tcx> {
     }
 }
 
-impl<'tcx> Clean<'tcx, bool> for hir::IsAuto {
-    fn clean(&self, _: &mut DocContext<'tcx>) -> bool {
-        match *self {
-            hir::IsAuto::Yes => true,
-            hir::IsAuto::No => false,
-        }
-    }
-}
-
 impl<'tcx> Clean<'tcx, Path> for hir::TraitRef<'tcx> {
     fn clean(&self, cx: &mut DocContext<'tcx>) -> Path {
         let path = clean_path(self.path, cx);