From db0fd5ccfba7df20c7b838fcf70f2317081b2f9c Mon Sep 17 00:00:00 2001 From: Caemor <11088935+caemor@users.noreply.github.com> Date: Mon, 4 Nov 2024 11:22:46 +0100 Subject: [PATCH] Update to newest embedded graphics version --- src/traits.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/traits.rs b/src/traits.rs index 08ddcb98..abd2b3f9 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -136,7 +136,9 @@ where /// ///```rust, no_run ///# use epd_waveshare::epd4in2::Display4in2; -///# use embedded_graphics::prelude::*; +///# use epd_waveshare::prelude::*; +///# use embedded_graphics_core::prelude::*; +///# use embedded_graphics::primitives::*; ///let mut display = Box::new(Display4in2::default()); ///let _ = Line::new(Point::new(0, 120), Point::new(0, 295)) /// .into_styled(PrimitiveStyle::with_stroke(Color::Black, 1))