Skip to content

Commit

Permalink
remove the a's for grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
ripytide authored and kornelski committed Aug 28, 2024
1 parent 319ef6a commit 174f2e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pixel_traits/het_pixel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ pub trait HetPixel: Copy {
/// color components + 1. That is, you cannot have more than 1 alpha components, but you can
/// have 0.
///
/// For example, [`Rgb`] has a `NUM_COMPONENTS` == 3 whereas
/// [`Rgba`] has a `NUM_COMPONENTS` == 4.
/// For example, [`Rgb`] has `NUM_COMPONENTS` == 3 whereas
/// [`Rgba`] has `NUM_COMPONENTS` == 4.
const NUM_COMPONENTS: u8;

/// The number of components in the pixel minus alpha.
///
/// For example, [`Rgb`] has a `NUM_COLOR_COMPONENTS` == 3 whereas
/// [`Rgbw`] has a `NUM_COLOR_COMPONENTS` == 4.
/// For example, [`Rgb`] has `NUM_COLOR_COMPONENTS` == 3 whereas
/// [`Rgbw`] has `NUM_COLOR_COMPONENTS` == 4.
const NUM_COLOR_COMPONENTS: u8;

/// The same pixel type as `Self` but with a different component type `U`.
Expand Down

0 comments on commit 174f2e0

Please sign in to comment.