From be5964db83f5e33cd80b93274d9f26117bbbe128 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 23 Sep 2022 20:11:43 +0200 Subject: Write documentation for `color!` macro --- core/src/color.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/color.rs b/core/src/color.rs index 73104fc9..212c1214 100644 --- a/core/src/color.rs +++ b/core/src/color.rs @@ -134,6 +134,8 @@ impl From<[f32; 4]> for Color { } } +/// Creates a [`Color`] with shorter and cleaner syntax. +/// /// # Examples /// /// ``` -- cgit