mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
Merge pull request #1576 from ealmloff/fix-lints-release-web
Fix use shared state lint in release mode
This commit is contained in:
commit
4444ba0b97
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ macro_rules! debug_location {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod error {
|
pub mod error {
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
fn locations_display(locations: &[&'static std::panic::Location<'static>]) -> String {
|
fn locations_display(locations: &[&'static std::panic::Location<'static>]) -> String {
|
||||||
locations
|
locations
|
||||||
.iter()
|
.iter()
|
||||||
|
|
Loading…
Reference in a new issue