Merge pull request #136 from tekknolagi/patch-1

[examples] Fix type in hello_world
This commit is contained in:
Malik Olivier Boussejra 2018-06-03 15:06:07 +09:00 committed by GitHub
commit a275c1d656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ mod support;
const CLEAR_COLOR: [f32; 4] = [1.0, 1.0, 1.0, 1.0];
fn main() { support::run("hellow_world.rs".to_owned(), CLEAR_COLOR, hello_world); }
fn main() { support::run("hello_world.rs".to_owned(), CLEAR_COLOR, hello_world); }
fn hello_world<'a>(ui: &Ui<'a>) -> bool {
ui.window(im_str!("Hello world"))