From 551ea99d05166b0be50792f767ddd38b996e32fa Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 17 May 2023 14:41:46 +0200 Subject: Show default values in documentation Fixes #169 Fixes #1102 --- library/src/compute/construct.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'library/src/compute/construct.rs') diff --git a/library/src/compute/construct.rs b/library/src/compute/construct.rs index 1c5775e5..d39b69dd 100644 --- a/library/src/compute/construct.rs +++ b/library/src/compute/construct.rs @@ -135,23 +135,18 @@ pub fn rgb( /// ] /// ``` #[external] - #[default] hex: EcoString, /// The red component. #[external] - #[default] red: Component, /// The green component. #[external] - #[default] green: Component, /// The blue component. #[external] - #[default] blue: Component, /// The alpha component. #[external] - #[default] alpha: Component, ) -> Value { Value::Color(if let Some(string) = args.find::>()? { -- cgit v1.2.3