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

Document the fact that the hex_color macro is not const #5169

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

YgorSouza
Copy link
Contributor

It cannot be made const with the current version of Rust, and that is counterintuitive since it does compile-time checks, so we make that clear in the documentation. It might be possible to make it const once MSRV is bumped to 1.82.

It cannot be made const with the current version of Rust, and that is
counterintuitive since it does compile-time checks, so we make that
clear in the documentation. It might be possible to make it const once
MSRV is bumped to 1.82.
Copy link

Preview available at https://egui-pr-preview.github.io/pr/5169-improve-hex-color-docs
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@lucasmerlin lucasmerlin added docs and examples Improving and adding documentation and examples ecolor labels Sep 25, 2024
Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@emilk emilk merged commit a59e178 into emilk:master Sep 26, 2024
23 of 24 checks passed
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
It cannot be made const with the current version of Rust, and that is
counterintuitive since it does compile-time checks, so we make that
clear in the documentation. It might be possible to make it const once
MSRV is bumped to 1.82.

* See <emilk#5160>
* [x] I have followed the instructions in the PR template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs and examples Improving and adding documentation and examples ecolor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants