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

chore(clippy): tab.rs #777

Merged
merged 1 commit into from
Feb 4, 2025
Merged

Conversation

joshuamegnauth54
Copy link
Contributor

As of this PR, Clippy only raises three warnings. One warning is related to a TODO which I mentioned in the last PR. Another warning involves an unused variable when a feature is disabled.

@@ -4721,6 +4684,200 @@ pub fn respond_to_scroll_direction(delta: ScrollDelta, modifiers: Modifiers) ->
None
}

#[derive(Clone)]
pub struct ArcElementWrapper<M>(pub Arc<Mutex<Element<'static, M>>>);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The third unfixed lint is a warning for this line: arc_with_non_send_sync

I don't think ArcElementWrapper is used across threads or else Rust wouldn't compile it. It's likely fine to use an Rc<RefMut<...>> instead but I left it as is.

@jackpot51 jackpot51 merged commit 9e2aa34 into pop-os:master Feb 4, 2025
@joshuamegnauth54 joshuamegnauth54 deleted the chore-clippy-tab branch February 6, 2025 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants