-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
In response to feedback on #3.
color/src/tagged.rs
Outdated
XyzD65, | ||
}; | ||
|
||
/// The colorspace tag for tagged colors. | ||
/// The colo rspace tag for tagged colors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space in wrong place!
There was a problem hiding this 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
color/src/colorspace.rs
Outdated
/// | ||
/// Calculations in linear colorspaces can sometimes be simplified, | ||
/// Calculations in linear colors paces can sometimes be simplified, |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Also add #[must_use]. (`AlphaColor::difference` was simplified in #7).
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.