You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Home.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ maps to:
33
33
usefltk::{prelude::*, window};
34
34
35
35
fnmain() {
36
-
letwind=window::Window::new(100, 100, 400, 300, "My Window");
36
+
letmutwind=window::Window::new(100, 100, 400, 300, "My Window");
37
37
wind.end();
38
38
wind.show();
39
39
}
@@ -70,7 +70,7 @@ To make our first Rust code sample work, we need to import the necessary fltk mo
70
70
usefltk::{prelude::*, window::Window};
71
71
72
72
fnmain() {
73
-
letwind=Window::new(100, 100, 400, 300, "My Window");
73
+
letmutwind=Window::new(100, 100, 400, 300, "My Window");
74
74
wind.end();
75
75
wind.show();
76
76
}
@@ -82,7 +82,7 @@ use fltk::{app, prelude::*, window::Window};
82
82
83
83
fnmain() {
84
84
leta=app::App::default();
85
-
letwind=Window::new(100, 100, 400, 300, "My Window");
85
+
letmutwind=Window::new(100, 100, 400, 300, "My Window");
86
86
wind.end();
87
87
wind.show();
88
88
a.run().unwrap();
@@ -95,4 +95,4 @@ The book is generated using [mdbook](https://github.com/rust-lang/mdBook) on the
95
95
96
96
As such, you would need to `cargo install mdbook`. More instructions can be found in fltk-book's README and in mdbook's [user guide](https://rust-lang.github.io/mdBook/).
97
97
98
-
You can also contribute to the Chinese translation [here](https://github.com/Flatigers/fltk-book-zh)
98
+
You can also contribute to the Chinese translation [here](https://github.com/Flatigers/fltk-book-zh)
0 commit comments