Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit 0de4477

Browse files
committed
Update for latest Rust.
1 parent a6cbd7f commit 0de4477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

color.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ pub fn hsl(h : f64, s : f64, l : f64) -> Color {
8181
impl Color {
8282
fn print(&self) -> ~str {
8383
fmt!("rgba(%u,%u,%u,%f)", self.red as uint, self.green as uint,
84-
self.blue as uint, self.alpha)
84+
self.blue as uint, self.alpha as float)
8585
}
8686
}
8787

0 commit comments

Comments
 (0)