Skip to content

Commit 74fb5f8

Browse files
Remove the Clean trait
1 parent 4b7fe4a commit 74fb5f8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustdoc/clean/mod.rs

-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ use utils::*;
4444
pub(crate) use self::types::*;
4545
pub(crate) use self::utils::{get_auto_trait_and_blanket_impls, krate, register_res};
4646

47-
pub(crate) trait Clean<'tcx, T> {
48-
fn clean(&self, cx: &mut DocContext<'tcx>) -> T;
49-
}
50-
5147
pub(crate) fn clean_doc_module<'tcx>(doc: &DocModule<'tcx>, cx: &mut DocContext<'tcx>) -> Item {
5248
let mut items: Vec<Item> = vec![];
5349
let mut inserted = FxHashSet::default();

0 commit comments

Comments
 (0)