Skip to content

refactor: replace static with const for global constants #340

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

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

Integral-Tech
Copy link
Contributor

@Integral-Tech Integral-Tech commented Dec 2, 2024

  • For global variables which don't need to be mutable, prefer const to static.

@sigaloid
Copy link
Member

sigaloid commented Dec 2, 2024

Thanks!

@sigaloid sigaloid merged commit e4fc22c into redlib-org:main Dec 2, 2024
2 of 3 checks passed
@Integral-Tech Integral-Tech deleted the static-const branch December 2, 2024 16:29
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