Merge pull request #927 from diegodox/fix-typo

Fix typo in documentation of `canvas::Program`
This commit is contained in:
Héctor Ramón 2021-06-26 11:57:31 +02:00 committed by GitHub
commit c6c3594c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ pub trait Program<Message> {
/// [`Geometry`] can be easily generated with a [`Frame`] or stored in a /// [`Geometry`] can be easily generated with a [`Frame`] or stored in a
/// [`Cache`]. /// [`Cache`].
/// ///
/// [`Frame`]: crate::widget::canvas::Cache /// [`Frame`]: crate::widget::canvas::Frame
/// [`Cache`]: crate::widget::canvas::Cache /// [`Cache`]: crate::widget::canvas::Cache
fn draw(&self, bounds: Rectangle, cursor: Cursor) -> Vec<Geometry>; fn draw(&self, bounds: Rectangle, cursor: Cursor) -> Vec<Geometry>;