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

Cleanups and renames #7

Merged
merged 3 commits into from
Nov 5, 2024
Merged

Cleanups and renames #7

merged 3 commits into from
Nov 5, 2024

Conversation

raphlinus
Copy link
Contributor

In response to feedback on #3.

One comment that was not addressed was direct conversion between color spaces, as opposed to always going through linear rgb.

In response to feedback on #3.
XyzD65,
};

/// The colorspace tag for tagged colors.
/// The colo rspace tag for tagged colors.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Space in wrong place!

Copy link
Member

@DJMcNab DJMcNab left a comment

Choose a reason for hiding this comment

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

Looks good. One more space misplacement

///
/// Calculations in linear colorspaces can sometimes be simplified,
/// Calculations in linear colors paces can sometimes be simplified,
Copy link
Member

Choose a reason for hiding this comment

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

You're certainly putting the reviewers through our paces with this one.

/// The tag corresponding to this colorspace, if a matching tag exists.
const CS_TAG: Option<ColorspaceTag> = None;
/// The tag corresponding to this color space, if a matching tag exists.
const TAG: Option<ColorSpaceTag> = None;
Copy link
Member

Choose a reason for hiding this comment

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

❤️

@raphlinus raphlinus added this pull request to the merge queue Nov 5, 2024
Merged via the queue into main with commit 1038a3b Nov 5, 2024
15 checks passed
@raphlinus raphlinus deleted the cleanup branch November 5, 2024 18:37
@raphlinus raphlinus mentioned this pull request Nov 5, 2024
github-merge-queue bot pushed a commit that referenced this pull request Nov 11, 2024
Also add #[must_use].

(`AlphaColor::difference` was simplified in #7).
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.

3 participants