Skip to content

Commit bc8093e

Browse files
author
hyd-dev
committed
Fix panic message of assert_failed_inner
1 parent 04fce73 commit bc8093e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/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)