Merge pull request #1576 from ealmloff/fix-lints-release-web

Fix use shared state lint in release mode
This commit is contained in:
Jonathan Kelley 2023-12-06 21:39:36 -08:00 committed by GitHub
commit 4444ba0b97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()