Skip to content

Mark ColorSpec::new() const so that it can be used as a constant#66

Closed
dimo414 wants to merge 1 commit intoBurntSushi:masterfrom
dimo414:master
Closed

Mark ColorSpec::new() const so that it can be used as a constant#66
dimo414 wants to merge 1 commit intoBurntSushi:masterfrom
dimo414:master

Conversation

@dimo414
Copy link

@dimo414 dimo414 commented Oct 3, 2022

e.g.const COLOR_OFF: ColorSpec = ColorSpec::new();.

…. `const COLOR_OFF: ColorSpec = ColorSpec::new();`).
@Property404
Copy link

Property404 commented Oct 5, 2022

This is covered in my PR here: #59

@dimo414 dimo414 closed this Apr 30, 2023
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