Skip to content

Commit

Permalink
Fix panic message of assert_failed_inner
Browse files Browse the repository at this point in the history
  • Loading branch information
hyd-dev committed Mar 13, 2021
1 parent 04fce73 commit bc8093e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/panicking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fn assert_failed_inner(
Some(args) => panic!(
r#"assertion failed: `(left {} right)`
left: `{:?}`,
right: `{:?}: {}`"#,
right: `{:?}`: {}"#,
op, left, right, args
),
None => panic!(
Expand Down

0 comments on commit bc8093e

Please sign in to comment.