Merge pull request #1576 from ealmloff/fix-lints-release-web
Fix use shared state lint in release mode
This commit is contained in:
1 file changed
+1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user