In Rust 2021, panic! automatically formats the message. Because of this, the panic! macro complained about the argument not being &str as format! returns a String instead. |
||
---|---|---|
.. | ||
app | ||
editor | ||
sidebar | ||
tab_label | ||
window | ||
mod.rs |
In Rust 2021, panic! automatically formats the message. Because of this, the panic! macro complained about the argument not being &str as format! returns a String instead. |
||
---|---|---|
.. | ||
app | ||
editor | ||
sidebar | ||
tab_label | ||
window | ||
mod.rs |