summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-08-25 05:22:17 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-08-25 05:22:17 +0200
commitbdab6f9d1ae90038af0c52b76c8cde332cf61efd (patch)
tree3bf589da77f2dcb32c729d2f726b65b8415f5ad5 /src
parent36d18d979ffe713328de901005c8a5a78075357d (diff)
downloadiced-bdab6f9d1ae90038af0c52b76c8cde332cf61efd.tar.gz
iced-bdab6f9d1ae90038af0c52b76c8cde332cf61efd.tar.bz2
iced-bdab6f9d1ae90038af0c52b76c8cde332cf61efd.zip
Update `README`
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.