Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix use shared state lint in release mode #1576

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Oct 25, 2023

Fixes the unused lint that the locations_display function in use_shared_state produces in release mode:

warning: function `locations_display` is never used
  --> packages/hooks/src/use_shared_state.rs:29:8
   |
29 |     fn locations_display(locations: &[...
   |        ^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

@ealmloff ealmloff added hooks Changes to built-in hook package tweak Small changes to improve experience labels Oct 25, 2023
@jkelleyrtp jkelleyrtp added this to the 0.5 Release milestone Oct 25, 2023
@jkelleyrtp jkelleyrtp merged commit 4444ba0 into DioxusLabs:master Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hooks Changes to built-in hook package tweak Small changes to improve experience
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants