Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
apparebit committed Jun 22, 2024
1 parent ee74d11 commit 90d43a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ fn parse_css(s: &str) -> Result<(ColorSpace, [f64; 3]), ColorFormatError> {

// --------------------------------------------------------------------------------------------------------------------

/// Parse the string into a color (*core-only*).
/// Parse the string into a color [*core-only*].
///
/// This function recognizes hashed hexadecimal, XParseColor, and CSS formats
/// for colors. In particular, it recognizes the three and six digit hashed
Expand Down Expand Up @@ -199,7 +199,7 @@ impl ColorSpace {
}
}

/// Format the color as a string (*core-only*).
/// Format the color as a string [*core-only*].
///
/// This function formats the given cooordinates for the given color space as a
/// CSS color with the `color()`, `oklab()`, or `oklch()` function and
Expand Down

0 comments on commit 90d43a8

Please sign in to comment.