summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
-rw-r--r--src/widget.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index aa3f7572..65968682 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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.