summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/color.rs2
1 files changed, 2 insertions, 0 deletions
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
///
/// ```