fix use shared state lint in release mode

This commit is contained in:
Evan Almloff committed 2023-10-25 10:23:23 -05:00
1 parent 647815fa6f
commit 6e85ecea12
1 file changed
+1
+1
View File
@@ -26,6 +26,7 @@ macro_rules! debug_location {
}
pub mod error {
#[cfg(debug_assertions)]
fn locations_display(locations: &[&'static std::panic::Location<'static>]) -> String {
locations
.iter()