Update import path in pure canvas example
In current version, `iced::pure::canvas` would be unresolved. It should be `iced::pure::widget::canvas`.
This commit is contained in:
parent
e053e25d2c
commit
d4bf49c84c
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ use std::marker::PhantomData;
|
|||
/// # }
|
||||
/// # pub use iced_native::{Color, Rectangle, Theme};
|
||||
/// # }
|
||||
/// use iced::pure::canvas::{self, Canvas, Cursor, Fill, Frame, Geometry, Path, Program};
|
||||
/// use iced::pure::widget::canvas::{self, Canvas, Cursor, Fill, Frame, Geometry, Path, Program};
|
||||
/// use iced::{Color, Rectangle, Theme};
|
||||
///
|
||||
/// // First, we define the data we need for drawing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue