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

glib-macros: Remove &mut to static mut in object_subclass #1517

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

felinira
Copy link
Contributor

Mutable references to mutable statics are not only discouraged, they will also be removed in rust 2024

I have grepped the code for more of these, but didn't find any.

Closes #1516

@sdroege sdroege merged commit 8052e13 into gtk-rs:master Sep 24, 2024
48 checks passed
@sdroege sdroege added the needs-backport PR needs backporting to the current stable branch label Sep 24, 2024
@sdroege sdroege added backported PR was backported to the current stable branch and removed needs-backport PR needs backporting to the current stable branch labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported PR was backported to the current stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

object_subclass macro creates mutable reference to mutable static
2 participants