Fix doc example in pure::canvas::Program

The `widget` module was missing.
This commit is contained in:
Héctor Ramón 2022-07-09 13:32:56 +02:00 committed by Héctor Ramón Jiménez
parent d4bf49c84c
commit fb1e391d06
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -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};
/// # }