about summary refs log tree commit diff
path: root/src/librustdoc/html/render/write_shared.rs
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-11-07 18:26:37 -0800
committerNoah Lev <camelidcamel@gmail.com>2021-11-07 18:26:37 -0800
commitb5817fada28cf21199ce4911b5cbde8bd1007c0d (patch)
tree7afeda14023f99016f3b217a207f3ce10700dc0f /src/librustdoc/html/render/write_shared.rs
parent7c7bf451eb986623d8fc4a8c4ab427393b3ab846 (diff)
downloadrust-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/html/render/write_shared.rs')
-rw-r--r--src/librustdoc/html/render/write_shared.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/write_shared.rs b/src/librustdoc/html/render/write_shared.rs
index cf12d668569..2d3b2490677 100644
--- a/src/librustdoc/html/render/write_shared.rs
+++ b/src/librustdoc/html/render/write_shared.rs
@@ -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),
                     })
                 }