Update version number in docs

This commit is contained in:
Olivier Goffart 2022-10-28 09:36:24 +02:00
parent 3d2daf6073
commit 17aa0d7203
6 changed files with 8 additions and 8 deletions

View file

@ -5,7 +5,7 @@ The tiles in the game should have a random placement. We'll need to add the `ran
```toml
[dependencies]
slint = "0.3.0"
slint = "0.3.1"
rand = "0.8" # Added
```

View file

@ -20,7 +20,7 @@ Then we edit `Cargo.toml` to add the slint dependency:
edition = "2021"
[dependencies]
slint = "0.3.0"
slint = "0.3.1"
```
Finally we copy the hello world program from the [Slint documentation](https://slint-ui.com/docs/rust/slint/) into our `src/main.rs`: