From 32f23f4c3e2f99d0f3a7b323c624cb100f3fcc19 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 23 Nov 2020 10:31:34 +0100 Subject: [PATCH] Add semi colon on the docs. The run statement returns `()` so it is easier to copy/paste it if it has the semicolon --- api/sixtyfps-rs/README.md | 2 +- api/sixtyfps-rs/lib.rs | 4 ++-- api/sixtyfps-rs/sixtyfps-build/lib.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/sixtyfps-rs/README.md b/api/sixtyfps-rs/README.md index 2238b3e5b..7bd503b39 100644 --- a/api/sixtyfps-rs/README.md +++ b/api/sixtyfps-rs/README.md @@ -37,7 +37,7 @@ sixtyfps::sixtyfps!{ } } fn main() { - HelloWorld::new().run() + HelloWorld::new().run(); } ``` diff --git a/api/sixtyfps-rs/lib.rs b/api/sixtyfps-rs/lib.rs index efad0231d..150d12866 100644 --- a/api/sixtyfps-rs/lib.rs +++ b/api/sixtyfps-rs/lib.rs @@ -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(); } ``` diff --git a/api/sixtyfps-rs/sixtyfps-build/lib.rs b/api/sixtyfps-rs/sixtyfps-build/lib.rs index 18e6f96d7..6ca74e58e 100644 --- a/api/sixtyfps-rs/sixtyfps-build/lib.rs +++ b/api/sixtyfps-rs/sixtyfps-build/lib.rs @@ -43,7 +43,7 @@ Then in your main file ```ignore sixtyfps::include_modules!(); fn main() { - HelloWorld::new().run() + HelloWorld::new().run(); } ``` */