Fix doc example in pure::canvas::Program
The `widget` module was missing.
This commit is contained in:
parent
d4bf49c84c
commit
fb1e391d06
1 changed files with 3 additions and 1 deletions
|
|
@ -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};
|
||||
/// # }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue