summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-16 17:13:49 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-16 17:14:17 +0100
commit0a24611ccdb9402f89c88fd5f567b9d26e3533c2 (patch)
tree6b099c14250e648b6de6490f980b7984a962e024 /README.md
parent503a48e89977437bf8b7bf485f416a15a2e83ed0 (diff)
downloadiced-0a24611ccdb9402f89c88fd5f567b9d26e3533c2.tar.gz
iced-0a24611ccdb9402f89c88fd5f567b9d26e3533c2.tar.bz2
iced-0a24611ccdb9402f89c88fd5f567b9d26e3533c2.zip
Fix `README`
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6ec56e18..dee8b99d 100644
--- a/README.md
+++ b/README.md
@@ -149,10 +149,10 @@ impl Counter {
pub fn update(&mut self, message: Message) {
match message {
- Message::IncrementPressed => {
+ Message::Increment => {
self.value += 1;
}
- Message::DecrementPressed => {
+ Message::Decrement => {
self.value -= 1;
}
}