Skip to content

Commit 99a32fc

Browse files
committed
Fix cargo doc for macro.
1 parent ccd5d9b commit 99a32fc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

googletest/src/matchers/elements_are_matcher.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
/// # .unwrap();
4848
/// ```
4949
///
50-
/// Note: This behavior is only possible in [`verify_that!`] macros. In any other cases, it is still necessary to use the [`elements_are!`] macro.
50+
/// Note: This behavior is only possible in [`verify_that!`] macros. In any other cases,
51+
/// it is still necessary to use the [`elements_are!`][crate::elements_are] macro.
5152
///
5253
/// ```compile_fail
5354
/// # use googletest::prelude::*;

googletest/src/matchers/unordered_elements_are_matcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
/// ```
7171
///
7272
/// Note: This behavior is only possible in [`verify_that!`] macros. In any other cases, it is still necessary
73-
/// to use the [`unordered_elements_are!`] macro.
73+
/// to use the [`unordered_elements_are!`][crate::unordered_elements_are] macro.
7474
///
7575
/// ```compile_fail
7676
/// # use googletest::prelude::*;

0 commit comments

Comments
 (0)