about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHirochika Matsumoto <git@hkmatsumoto.com>2021-09-26 01:07:10 +0900
committerGitHub <noreply@github.com>2021-09-26 01:07:10 +0900
commit195f752109d646327c225fbeea424120048ac043 (patch)
tree54cf8fec41d5194480d42a1716110f74cc0f73cc /src
parent3239f065855cb5b5de89bf7570c430eac19bbc92 (diff)
Elaborate comment
Co-authored-by: Joshua Nelson <github@jyn.dev>
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/clean/inline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/inline.rs b/src/librustdoc/clean/inline.rs
index e2084667363..4a888b22332 100644
--- a/src/librustdoc/clean/inline.rs
+++ b/src/librustdoc/clean/inline.rs
@@ -400,7 +400,7 @@ crate fn build_impl(
                 .filter(|item| {
                     // Filter out impl items whose corresponding trait item has `doc(hidden)`
                     // not to document such impl items.
-                    // For inherent impls, we don't do any filtering.
+                    // For inherent impls, we don't do any filtering, because that's already done in strip_hidden.rs.
 
                     // When `--document-hidden-items` is passed, we don't
                     // do any filtering, too.