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

refactor: partially revert #23 #26

Merged

Conversation

Integral-Tech
Copy link
Contributor

  • According to The Rust Reference, when interior mutability is required, prefer static over const.

Constants should, in general, be preferred over statics unless one of the following are true:
Large amounts of data are being stored
The single-address property of statics is required.
Interior mutability is required.

@xz-dev xz-dev merged commit a4cbb64 into DUpdateSystem:master Dec 8, 2024
1 check passed
@Integral-Tech Integral-Tech deleted the fix-interior-mutable-const branch December 8, 2024 05:42
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