From: Ralf Jung Date: Fri, 10 Jul 2015 16:58:18 +0000 (+0200) Subject: sync titles X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/a9c7d7471bf6f06a2a4710daa306c26fc5324557?ds=sidebyside sync titles --- diff --git a/src/part11.rs b/src/part11.rs index 5219d30..4e5c5fd 100644 --- a/src/part11.rs +++ b/src/part11.rs @@ -1,5 +1,5 @@ -// Rust-101, Part 11: Trait Objects, Box, Rc -// ========================================= +// Rust-101, Part 11: Trait Objects, Box, Rc, Lifetime bounds +// ========================================================== //@ We will play around with closures a bit more. Let us implement some kind of generic "callback" //@ mechanism, providing two functions: Registering a new callback, and calling all registered callbacks. There will be two diff --git a/workspace/src/part11.rs b/workspace/src/part11.rs index 01f170b..7e45540 100644 --- a/workspace/src/part11.rs +++ b/workspace/src/part11.rs @@ -1,5 +1,5 @@ -// Rust-101, Part 11: Trait Objects, Box, Rc -// ========================================= +// Rust-101, Part 11: Trait Objects, Box, Rc, Lifetime bounds +// ========================================================== mod callbacks { // For now, we just decide that the callbacks have an argument of type `i32`.