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

Rust 2024: use &raw with static mut in Ch. 20. #4203

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

chriskrycho
Copy link
Contributor

As with the other uses of &raw (#4062), this is backwards-compatible from 1.82 onward; the change at the Edition is that not using it in this context becomes an error.

@chriskrycho chriskrycho force-pushed the 2024-more-raw-borrows branch from 8105e12 to 7a15fd3 Compare January 14, 2025 15:52
@chriskrycho chriskrycho merged commit 8a0eee2 into main Jan 14, 2025
6 checks passed
@chriskrycho chriskrycho deleted the 2024-more-raw-borrows branch January 14, 2025 16:41
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.

1 participant