Skip to content

Commit 134b7b5

Browse files
authored
Rollup merge of rust-lang#83081 - hyd-dev:assert-message, r=m-ou-se
Fix panic message of `assert_failed_inner` cc rust-lang#79100 (comment) r? ``@m-ou-se``
2 parents 6b26ba1 + 3e96abd commit 134b7b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/panicking.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ fn assert_failed_inner(
154154
Some(args) => panic!(
155155
r#"assertion failed: `(left {} right)`
156156
left: `{:?}`,
157-
right: `{:?}: {}`"#,
157+
right: `{:?}`: {}"#,
158158
op, left, right, args
159159
),
160160
None => panic!(

0 commit comments

Comments
 (0)