From 492fdc3b2b60fb5629317ba9a68c659dadc16d99 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Tue, 4 Dec 2012 11:41:23 +1000 Subject: [PATCH] Formatting --- src/color/color.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color/color.rs b/src/color/color.rs index e4e9132..2f08072 100644 --- a/src/color/color.rs +++ b/src/color/color.rs @@ -112,7 +112,7 @@ pub pure fn to_rgb(color: &HSV) -> RGB { else if h_ < Number::from(4f) { RGB::new( _0, x, chr) } else if h_ < Number::from(5f) { RGB::new( x, _0, chr) } else if h_ < Number::from(6f) { RGB::new(chr, _0, x) } - else { RGB::new( _0, _0, _0) }; + else { RGB::new( _0, _0, _0) }; // match the value by adding the same amount to each component let mn = color.v - chr;