diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | src/widget.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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::*; diff --git a/src/widget.rs b/src/widget.rs index 6113b9ad..c3df3bc1 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -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. |