mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
Add semi colon on the docs.
The run statement returns `()` so it is easier to copy/paste it if it has the semicolon
This commit is contained in:
parent
4383566db9
commit
32f23f4c3e
3 changed files with 4 additions and 4 deletions
|
@ -43,7 +43,7 @@ sixtyfps::sixtyfps!{
|
|||
}
|
||||
fn main() {
|
||||
# return; // Don't run a window in an example
|
||||
HelloWorld::new().run()
|
||||
HelloWorld::new().run();
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -82,7 +82,7 @@ Then in your main file
|
|||
```ignore
|
||||
sixtyfps::include_modules!();
|
||||
fn main() {
|
||||
HelloWorld::new().run()
|
||||
HelloWorld::new().run();
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue