Skip to content

Commit 617b25d

Browse files
bjacotgcopybara-github
authored andcommitted
Avoid pronoun in container matcher documentation.
PiperOrigin-RevId: 587713068
1 parent 4654072 commit 617b25d

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

googletest/src/matchers/empty_matcher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ use std::{fmt::Debug, marker::PhantomData};
1717

1818
/// Matches an empty container.
1919
///
20-
/// `T` can be any container such that `&T` implements `IntoIterator`. This
21-
/// includes common containers such as `Vec` and
20+
/// `T` can be any container such that `&T` implements `IntoIterator`. For
21+
/// instance, `T` can be a common container like `Vec` and
2222
/// [`HashSet`][std::collections::HashSet].
2323
///
2424
/// ```

googletest/src/matchers/subset_of_matcher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ use std::{fmt::Debug, marker::PhantomData};
2222
/// comparison.
2323
///
2424
/// `ActualT` and `ExpectedT` can each be any container a reference to which
25-
/// implements `IntoIterator`. This includes common containers such as `Vec`
26-
/// or arrays. They need not be the same container type.
25+
/// implements `IntoIterator`. For instance, `T` can be a common container like
26+
/// `Vec` or arrays. They need not be the same container type.
2727
///
2828
/// ```
2929
/// # use googletest::prelude::*;

googletest/src/matchers/superset_of_matcher.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ use std::{fmt::Debug, marker::PhantomData};
2222
/// comparison.
2323
///
2424
/// `ActualT` and `ExpectedT` can each be any container a reference to which
25-
/// implements `IntoIterator`. This includes common containers such as `Vec`
26-
/// or arrays. They need not be the same container type.
25+
/// implements `IntoIterator`. For instance, `ActualT` and `ExpectedT` can be a
26+
/// common container like `Vec` or arrays. They need not be the same container
27+
/// type.
2728
///
2829
/// ```
2930
/// # use googletest::prelude::*;

0 commit comments

Comments
 (0)