diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-11-07 18:26:37 -0800 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-11-07 18:26:37 -0800 |
| commit | b5817fada28cf21199ce4911b5cbde8bd1007c0d (patch) | |
| tree | 7afeda14023f99016f3b217a207f3ce10700dc0f /src/librustdoc/clean | |
| parent | 7c7bf451eb986623d8fc4a8c4ab427393b3ab846 (diff) | |
| download | rust-b5817fada28cf21199ce4911b5cbde8bd1007c0d.tar.gz rust-b5817fada28cf21199ce4911b5cbde8bd1007c0d.zip | |
rustdoc: Remove top-level wrappers for `ImplKind` methods
The `ImplKind` methods can just be used directly instead.
Diffstat (limited to 'src/librustdoc/clean')
| -rw-r--r-- | src/librustdoc/clean/types.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs index ee6cb292cbe..0dc1c24b16e 100644 --- a/src/librustdoc/clean/types.rs +++ b/src/librustdoc/clean/types.rs @@ -2182,18 +2182,6 @@ crate struct Impl { } impl Impl { - crate fn is_auto_impl(&self) -> bool { - self.kind.is_auto() - } - - crate fn is_blanket_impl(&self) -> bool { - self.kind.is_blanket() - } - - crate fn blanket_impl_ty(&self) -> Option<&Type> { - self.kind.as_blanket_ty() - } - crate fn provided_trait_methods(&self, tcx: TyCtxt<'_>) -> FxHashSet<Symbol> { self.trait_ .as_ref() |
