Chore: Apply clippy docs keyword quoting
Add quotes a number of doc strings like `sRGB`
This commit is contained in:
parent
4613eb26cb
commit
c6554d9907
6 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue