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