Skip to content

Commit

Permalink
book: Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Aug 16, 2023
1 parent 5d07ce1 commit ec5099e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/g_object_memory_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ By adding the `move` keyword in front of the closure, `number` will be moved int
#
#const APP_ID: &str = "org.gtk_rs.GObjectMemoryManagement0";
#
// DOES NOT COMPILE!
#fn main() -> glib::ExitCode {
# // Create a new application
# let app = Application::builder().application_id(APP_ID).build();
Expand All @@ -108,6 +107,7 @@ By adding the `move` keyword in front of the closure, `number` will be moved int
# .margin_end(12)
# .build();
#
// DOES NOT COMPILE!
// A mutable integer
let mut number = 0;

Expand Down

0 comments on commit ec5099e

Please sign in to comment.