summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Wiktor Kwapisiewicz <wiktor@metacode.biz>2023-01-12 13:16:53 +0100
committerLibravatar Wiktor Kwapisiewicz <wiktor@metacode.biz>2023-01-12 13:16:53 +0100
commitcb930b05a857ae67e26a1d523eca28af4f808d27 (patch)
tree6780cf06dc18136eac35ec5f623476597bec8769 /src/lib.rs
parent902131eb517de85e09f522932858af53fc6aea3e (diff)
downloadiced-cb930b05a857ae67e26a1d523eca28af4f808d27.tar.gz
iced-cb930b05a857ae67e26a1d523eca28af4f808d27.tar.bz2
iced-cb930b05a857ae67e26a1d523eca28af4f808d27.zip
Fix comment description on crate example
This tiny PR aligns the comment on the crate example to align to the comment that is in README.md.
Diffstat (limited to '')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a0e31be4..68cb9984 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -97,6 +97,7 @@
//! text(self.value).size(50),
//!
//! // The decrement button. We tell it to produce a
+//! // `DecrementPressed` message when pressed
//! button("-").on_press(Message::DecrementPressed),
//! ]
//! }