Skip to content

Commit 5ae93fb

Browse files
hovinenbcopybara-github
authored andcommitted
Hide the documentation for four submodules of matchers with no visible documentation elements.
Otherwise the modules appear in the generated Rustdoc but are empty. PiperOrigin-RevId: 558086414
1 parent d05207e commit 5ae93fb

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

googletest/src/assertions.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// There are no visible documentation elements in this module; the declarative
16+
// macros are documented at the top level.
17+
#![doc(hidden)]
18+
1519
/// Checks whether the `Matcher` given by the second argument matches the first
1620
/// argument.
1721
///

googletest/src/matchers/conjunction_matcher.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// There are no visible documentation elements in this module.
16+
#![doc(hidden)]
17+
1518
use crate::matcher::{Matcher, MatcherResult};
1619
use std::fmt::Debug;
1720

googletest/src/matchers/disjunction_matcher.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// There are no visible documentation elements in this module.
16+
#![doc(hidden)]
17+
1518
use crate::matcher::{Matcher, MatcherResult};
1619
use std::fmt::Debug;
1720

googletest/src/matchers/unordered_elements_are_matcher.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
// There are no visible documentation elements in this module; the declarative
1616
// macro is documented at the top level.
17+
#![doc(hidden)]
1718

1819
/// Matches a container whose elements in any order have a 1:1 correspondence
1920
/// with the provided element matchers.

0 commit comments

Comments
 (0)