Skip to content

Commit f2aec71

Browse files
authored
Add track_caller for asser_equal
1 parent a4a82e4 commit f2aec71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -4503,6 +4503,7 @@ where
45034503
/// assert_equal("exceed".split('c'), "excess".split('c'));
45044504
/// // ^PANIC: panicked at 'Failed assertion Some("eed") == Some("ess") for iteration 1'.
45054505
/// ```
4506+
#[track_caller]
45064507
pub fn assert_equal<I, J>(a: I, b: J)
45074508
where
45084509
I: IntoIterator,

0 commit comments

Comments
 (0)