1
Fork 0

rustdoc: Remove top-level wrappers for ImplKind methods

The `ImplKind` methods can just be used directly instead.
This commit is contained in:
Noah Lev 2021-11-07 18:26:37 -08:00
parent 7c7bf451eb
commit b5817fada2
6 changed files with 8 additions and 20 deletions

View file

@ -585,7 +585,7 @@ pub(super) fn write_shared(
} else {
Some(Implementor {
text: imp.inner_impl().print(false, cx).to_string(),
synthetic: imp.inner_impl().is_auto_impl(),
synthetic: imp.inner_impl().kind.is_auto(),
types: collect_paths_for_type(imp.inner_impl().for_.clone(), cache),
})
}