We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Rc<T>
1 parent 72b0a57 commit d079977Copy full SHA for d079977
src/librustdoc/clean/mod.rs
@@ -33,7 +33,6 @@ use std::assert_matches::assert_matches;
33
use std::collections::hash_map::Entry;
34
use std::default::Default;
35
use std::hash::Hash;
36
-use std::rc::Rc;
37
use std::{mem, vec};
38
39
use crate::core::{self, DocContext, ImplTraitParam};
@@ -61,12 +60,6 @@ impl<T: Clean<U>, U> Clean<U> for &T {
61
60
}
62
63
64
-impl<T: Clean<U>, U> Clean<U> for Rc<T> {
65
- fn clean(&self, cx: &mut DocContext<'_>) -> U {
66
- (**self).clean(cx)
67
- }
68
-}
69
-
70
impl Clean<Item> for doctree::Module<'_> {
71
fn clean(&self, cx: &mut DocContext<'_>) -> Item {
72
let mut items: Vec<Item> = vec![];
0 commit comments