Skip to content

Enable functions in const context where possible#223

Open
cgzones wants to merge 1 commit intocolored-rs:masterfrom
cgzones:const
Open

Enable functions in const context where possible#223
cgzones wants to merge 1 commit intocolored-rs:masterfrom
cgzones:const

Conversation

@cgzones
Copy link

@cgzones cgzones commented Jan 30, 2026

Convert the global CLEAR from a static to a constant to enable usage in const contexts. Only drawback is its address can no longer be obtained.

Convert the global CLEAR from a static to a constant to enable usage in
const contexts. Only drawback is its address can no longer be obtained.
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