Skip to content

Commit

Permalink
Fix clippy::doc_overindented_list_items lints (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Feb 5, 2025
1 parent 67874b8 commit 94f3c3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions color/src/colorspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ impl ColorSpace for XyzD65 {
///
/// Its components are `[L, a, b]` with
/// - `L` - the lightness with a natural bound between 0 and 1, where 0 represents pure black and 1
/// represents the lightness of white;
/// represents the lightness of white;
/// - `a` - how green/red the color is; and
/// - `b` - how blue/yellow the color is.
///
Expand Down Expand Up @@ -941,7 +941,7 @@ fn lch_to_lab([l, c, h]: [f32; 3]) -> [f32; 3] {
/// Its components are `[L, C, h]` with
/// - `L` - the lightness as in [`Oklab`];
/// - `C` - the chromatic intensity, the natural lower bound of 0 being achromatic, usually not
/// exceeding 0.5; and
/// exceeding 0.5; and
/// - `h` - the hue angle in degrees.
#[derive(Clone, Copy, Debug)]
pub struct Oklch;
Expand Down Expand Up @@ -989,7 +989,7 @@ impl ColorSpace for Oklch {
///
/// Its components are `[L, a, b]` with
/// - `L` - the lightness with a natural bound between 0 and 100, where 0 represents pure black and 100
/// represents the lightness of white;
/// represents the lightness of white;
/// - `a` - how green/red the color is; and
/// - `b` - how blue/yellow the color is.
///
Expand Down Expand Up @@ -1094,7 +1094,7 @@ impl ColorSpace for Lab {
/// Its components are `[L, C, h]` with
/// - `L` - the lightness as in [`Lab`];
/// - `C` - the chromatic intensity, the natural lower bound of 0 being achromatic, usually not
/// exceeding 160; and
/// exceeding 160; and
/// - `h` - the hue angle in degrees.
///
/// See [`Oklch`] for a similar color space but with better hue linearity.
Expand Down

0 comments on commit 94f3c3f

Please sign in to comment.