Update README

This commit is contained in:
Héctor Ramón Jiménez 2019-08-25 05:22:17 +02:00
parent 36d18d979f
commit bdab6f9d1a
3 changed files with 106 additions and 42 deletions

View file

@ -33,5 +33,5 @@ pub use rectangle::Rectangle;
pub use renderer::Renderer;
pub use style::{Align, Justify, Style};
pub use user_interface::{Cache, UserInterface};
pub use vector::Vector;
pub(crate) use vector::Vector;
pub use widget::*;

View file

@ -88,7 +88,7 @@ pub trait Widget<Message, Renderer>: std::fmt::Debug {
/// * an [`Event`] describing user interaction
/// * the computed [`Layout`] of the [`Widget`]
/// * the current cursor position
/// * a mutable `Message` vector, allowing the [`Widget`] to produce
/// * a mutable `Message` list, allowing the [`Widget`] to produce
/// new messages based on user interaction.
///
/// By default, it does nothing.