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
|
@ -228,7 +228,7 @@ impl<'a, 'tcx> DocFolder for CacheBuilder<'a, 'tcx> {
|
|||
// Collect all the implementors of traits.
|
||||
if let clean::ImplItem(ref i) = *item.kind {
|
||||
if let Some(trait_) = &i.trait_ {
|
||||
if !i.is_blanket_impl() {
|
||||
if !i.kind.is_blanket() {
|
||||
self.cache
|
||||
.implementors
|
||||
.entry(trait_.def_id())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue