summaryrefslogtreecommitdiffstats
path: root/examples/clock/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/clock/src/main.rs')
-rw-r--r--examples/clock/src/main.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs
index a85a964c..1379d3a6 100644
--- a/examples/clock/src/main.rs
+++ b/examples/clock/src/main.rs
@@ -101,10 +101,7 @@ impl canvas::Drawable for LocalTime {
let clock = canvas::Path::new(|path| path.circle(center, radius));
- frame.fill(
- &clock,
- canvas::Fill::Color(Color::from_rgb8(0x12, 0x93, 0xD8)),
- );
+ frame.fill(&clock, Color::from_rgb8(0x12, 0x93, 0xD8));
fn draw_hand(
n: u32,