Skip to content

Commit

Permalink
Add track_caller for asser_equal
Browse files Browse the repository at this point in the history
  • Loading branch information
l4l committed Jul 30, 2024
1 parent a4a82e4 commit f2aec71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4503,6 +4503,7 @@ where
/// assert_equal("exceed".split('c'), "excess".split('c'));
/// // ^PANIC: panicked at 'Failed assertion Some("eed") == Some("ess") for iteration 1'.
/// ```
#[track_caller]
pub fn assert_equal<I, J>(a: I, b: J)
where
I: IntoIterator,
Expand Down

0 comments on commit f2aec71

Please sign in to comment.