Update overview example in README

This commit is contained in:
Héctor Ramón Jiménez 2025-12-05 03:37:46 +01:00
parent 44e2087fea
commit ee3b3c86eb
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -142,7 +142,7 @@ And that's everything! We just wrote a whole user interface. Let's run it:
```rust
fn main() -> iced::Result {
iced::run("A cool counter", Counter::update, Counter::view)
iced::run(Counter::update, Counter::view)
}
```