diff options
author | 2023-09-19 01:50:05 -0400 | |
---|---|---|
committer | 2023-09-19 01:50:05 -0400 | |
commit | c6554d990770b941b5003d6ef40af3f9dedcd052 (patch) | |
tree | 320357161634eeafcc4a33d7c41aa1e39f1ee93e /core/src | |
parent | 4613eb26cba3ded83f25ebdefd01c983c79a9d59 (diff) | |
download | iced-c6554d990770b941b5003d6ef40af3f9dedcd052.tar.gz iced-c6554d990770b941b5003d6ef40af3f9dedcd052.tar.bz2 iced-c6554d990770b941b5003d6ef40af3f9dedcd052.zip |
Chore: Apply clippy docs keyword quoting
Add quotes a number of doc strings like `sRGB`
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/color.rs | 2 | ||||
-rw-r--r-- | core/src/window/icon.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/color.rs b/core/src/color.rs index 1392f28b..0e8b7475 100644 --- a/core/src/color.rs +++ b/core/src/color.rs @@ -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 diff --git a/core/src/window/icon.rs b/core/src/window/icon.rs index 2fc48e3b..5ef0eed7 100644 --- a/core/src/window/icon.rs +++ b/core/src/window/icon.rs @@ -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, |