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

Remove unnecessary mut modifiers from TX_BUFFER and RX_BUFFER declarations #28

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

Dicklessgreat
Copy link
Owner

Eliminate the mut modifiers from the declarations of TX_BUFFER and RX_BUFFER to suppress warnings about creating shared references to mutable statics. This change enhances safety and aligns with best practices in Rust. Fixes #27

@Dicklessgreat Dicklessgreat merged commit e9ff84b into master Jan 24, 2025
2 checks passed
@Dicklessgreat Dicklessgreat deleted the Dicklessgreat/issue27 branch January 24, 2025 14:23
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.

suppress "creating a shared reference to mutable static is discouraged" warnings
1 participant