diff options
| author | hyd-dev <yd-huang@outlook.com> | 2021-03-13 18:50:43 +0800 |
|---|---|---|
| committer | hyd-dev <yd-huang@outlook.com> | 2021-03-13 18:50:43 +0800 |
| commit | bc8093ed551546730194a2b726dbd39466d199d0 (patch) | |
| tree | c7b6e649798d5245facbce8fe01e92e2722e2696 | |
| parent | 04fce73196638cbb203e2b0dd2a16230ff6e265b (diff) | |
Fix panic message of `assert_failed_inner`
| -rw-r--r-- | library/core/src/panicking.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/panicking.rs b/library/core/src/panicking.rs index 12acf5b4329..3e3e96fcd7f 100644 --- a/library/core/src/panicking.rs +++ b/library/core/src/panicking.rs @@ -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!( |
