Skip to content

Commit 3ff3e76

Browse files
committed
book: Adapt comments
1 parent 0e0e059 commit 3ff3e76

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

book/listings/todo/1/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn main() -> glib::ExitCode {
2525
}
2626

2727
fn build_ui(app: &Application) {
28-
// Create a new custom window and show it
28+
// Create a new custom window and present it
2929
let window = Window::new(app);
3030
window.present();
3131
}

book/listings/todo/2/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fn setup_shortcuts(app: &Application) {
3434
// ANCHOR_END: main
3535

3636
fn build_ui(app: &Application) {
37-
// Create a new custom window and show it
37+
// Create a new custom window and present it
3838
let window = Window::new(app);
3939
window.present();
4040
}

book/listings/todo/3/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn load_css() {
5252
// ANCHOR_END: load_css
5353

5454
fn build_ui(app: &Application) {
55-
// Create a new custom window and show it
55+
// Create a new custom window and present it
5656
let window = Window::new(app);
5757
window.present();
5858
}

book/listings/todo/4/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fn setup_shortcuts(app: &Application) {
3131
}
3232

3333
fn build_ui(app: &Application) {
34-
// Create a new custom window and show it
34+
// Create a new custom window and present it
3535
let window = Window::new(app);
3636
window.present();
3737
}

book/listings/todo/5/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn setup_shortcuts(app: &adw::Application) {
3535

3636
// 👇 changed
3737
fn build_ui(app: &adw::Application) {
38-
// Create a new custom window and show it
38+
// Create a new custom window and present it
3939
let window = Window::new(app);
4040
window.present();
4141
}

book/listings/todo/6/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn setup_shortcuts(app: &adw::Application) {
3030
}
3131

3232
fn build_ui(app: &adw::Application) {
33-
// Create a new custom window and show it
33+
// Create a new custom window and present it
3434
let window = Window::new(app);
3535
window.present();
3636
}

book/listings/todo/7/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fn setup_shortcuts(app: &adw::Application) {
3030
}
3131

3232
fn build_ui(app: &adw::Application) {
33-
// Create a new custom window and show it
33+
// Create a new custom window and present it
3434
let window = Window::new(app);
3535
window.present();
3636
}

book/listings/todo/8/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fn setup_shortcuts(app: &adw::Application) {
3131
}
3232

3333
fn build_ui(app: &adw::Application) {
34-
// Create a new custom window and show it
34+
// Create a new custom window and present it
3535
let window = Window::new(app);
3636
window.present();
3737
}

0 commit comments

Comments
 (0)