Skip to content

Commit bce918a

Browse files
committed
Update note in "The Runtime" chapter
1 parent 4471cbb commit bce918a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

book.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ edit-url-template = "https://github.com/iced-rs/book/edit/master/{path}"
1414
runnable = false
1515

1616
[preprocessor.iced]
17-
rev = "9db6ac8f202ebdc1453edee01da0b30aee0949d8"
17+
rev = "441e9237cd1c9c9b61d9b144b5b4dafa236ace28"

src/the-runtime.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66
> git = "https://github.com/iced-rs/iced.git"
77
> rev = "cdb18e610a72b4a025d7e1890140393adee5b087"
88
> ```
9+
>
10+
> If, on the other hand, you only want to quickly run the counter we just wrote using the latest release
11+
> (boring!), check out [the `counter` example in the repository] and the API reference of [the `Sandbox` trait].
912
1013
[a revision of iced]: https://github.com/iced-rs/iced/tree/cdb18e610a72b4a025d7e1890140393adee5b087
14+
[the `Sandbox` trait]: https://docs.rs/iced/latest/iced/trait.Sandbox.html
15+
[the `counter` example in the repository]: https://github.com/iced-rs/iced/blob/0.12/examples/counter/src/main.rs
1116
1217
# The Runtime
1318
In the previous chapter we built the classical counter interface using iced and The Elm Architecture. We focused on each
@@ -204,7 +209,6 @@ Specifically,
204209
- __view logic__ runs once at startup and then after every batch of interactions,
205210
- and __update logic__ runs for every interaction that created a __message__.
206211

207-
208212
## The Ice Wizard
209213
"That's cool and all", you say, "but I am not a wizard and I still have no clue of how to run the counter interface I wrote.
210214
I have things to count!"

0 commit comments

Comments
 (0)