Update overview example in README
This commit is contained in:
parent
44e2087fea
commit
ee3b3c86eb
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ And that's everything! We just wrote a whole user interface. Let's run it:
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
fn main() -> iced::Result {
|
fn main() -> iced::Result {
|
||||||
iced::run("A cool counter", Counter::update, Counter::view)
|
iced::run(Counter::update, Counter::view)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue