Chore: Apply clippy docs keyword quoting

Add quotes a number of doc strings like `sRGB`
This commit is contained in:
Yuri Astrakhan 2023-09-19 01:50:05 -04:00
parent 4613eb26cb
commit c6554d9907
6 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
#[cfg(feature = "palette")]
use palette::rgb::{Srgb, Srgba};
/// A color in the sRGB color space.
/// A color in the `sRGB` color space.
#[derive(Debug, Clone, Copy, PartialEq, Default)]
pub struct Color {
/// Red component, 0.0 - 1.0

View file

@ -3,7 +3,7 @@ use crate::Size;
use std::mem;
/// Builds an [`Icon`] from its RGBA pixels in the sRGB color space.
/// Builds an [`Icon`] from its RGBA pixels in the `sRGB` color space.
pub fn from_rgba(
rgba: Vec<u8>,
width: u32,