1
Fork 0

Expand assert!(expr) to panic() function instead of panic!() macro.

The panic message might contain braces which should never be
interpreted as format placeholders, which panic!() will do in a future
edition.
This commit is contained in:
Mara Bos 2020-10-18 22:30:16 +02:00
parent f228efc3f5
commit 3beb2e95a9
3 changed files with 38 additions and 26 deletions

View file

@ -791,6 +791,7 @@ symbols! {
panic_runtime,
panic_str,
panic_unwind,
panicking,
param_attrs,
parent_trait,
partial_cmp,