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:
Olivier Goffart 2020-11-23 10:31:34 +01:00
parent 4383566db9
commit 32f23f4c3e
3 changed files with 4 additions and 4 deletions

View file

@ -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();
}
```