X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/7c63fce3ed1474437f62a5f14cbd9fa398ec9abe..a9c7d7471bf6f06a2a4710daa306c26fc5324557:/src/part11.rs 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