Skip to content

Commit 97d9ecc

Browse files
l4ljswrenn
authored andcommitted
Add track_caller for asser_equal
1 parent a447b68 commit 97d9ecc

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
@@ -4571,6 +4571,7 @@ where
45714571
/// assert_equal("exceed".split('c'), "excess".split('c'));
45724572
/// // ^PANIC: panicked at 'Failed assertion Some("eed") == Some("ess") for iteration 1'.
45734573
/// ```
4574+
#[track_caller]
45744575
pub fn assert_equal<I, J>(a: I, b: J)
45754576
where
45764577
I: IntoIterator,

0 commit comments

Comments
 (0)