rustdoc: Remove top-level wrappers for ImplKind
methods
The `ImplKind` methods can just be used directly instead.
This commit is contained in:
parent
7c7bf451eb
commit
b5817fada2
6 changed files with 8 additions and 20 deletions
|
@ -999,7 +999,7 @@ impl clean::Impl {
|
|||
write!(f, " for ")?;
|
||||
}
|
||||
|
||||
if let Some(ref ty) = self.blanket_impl_ty() {
|
||||
if let Some(ref ty) = self.kind.as_blanket_ty() {
|
||||
fmt_type(ty, f, use_absolute, cx)?;
|
||||
} else {
|
||||
fmt_type(&self.for_, f, use_absolute, cx)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue