diff --git a/graphics/src/widget/pure/canvas.rs b/graphics/src/widget/pure/canvas.rs index dd15d5c6f8..19bcb0de2f 100644 --- a/graphics/src/widget/pure/canvas.rs +++ b/graphics/src/widget/pure/canvas.rs @@ -28,7 +28,9 @@ use std::marker::PhantomData; /// ```no_run /// # mod iced { /// # pub mod pure { -/// # pub use iced_graphics::pure::canvas; +/// # pub mod widget { +/// # pub use iced_graphics::pure::canvas; +/// # } /// # } /// # pub use iced_native::{Color, Rectangle, Theme}; /// # }