Skip to content

Commit 78c3427

Browse files
committed
Remove unnecessary impl Clean<String> for InternedString.
1 parent c325553 commit 78c3427

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/librustdoc/clean/mod.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ use syntax::attr;
3131
use syntax_expand::base::MacroKind;
3232
use syntax::source_map::DUMMY_SP;
3333
use syntax::symbol::{Symbol, kw, sym};
34-
use syntax::symbol::InternedString;
3534
use syntax_pos::{self, Pos, FileName};
3635

3736
use std::collections::hash_map::Entry;
@@ -3701,13 +3700,6 @@ impl Clean<String> for ast::Name {
37013700
}
37023701
}
37033702

3704-
impl Clean<String> for InternedString {
3705-
#[inline]
3706-
fn clean(&self, _: &DocContext<'_>) -> String {
3707-
self.to_string()
3708-
}
3709-
}
3710-
37113703
#[derive(Clone, Debug)]
37123704
pub struct Typedef {
37133705
pub type_: Type,

0 commit comments

Comments
 (0)