projects
/
rust-101.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7c63fce
)
sync titles
author
Ralf Jung
<post@ralfj.de>
Fri, 10 Jul 2015 16:58:18 +0000
(18:58 +0200)
committer
Ralf Jung
<post@ralfj.de>
Fri, 10 Jul 2015 16:58:18 +0000
(18:58 +0200)
src/part11.rs
patch
|
blob
|
history
workspace/src/part11.rs
patch
|
blob
|
history
diff --git
a/src/part11.rs
b/src/part11.rs
index 5219d30b2e0e9de85bc13e060b49fd78ed34e00a..4e5c5fd7b343151e28ef54f3bb59e71ac52da6c6 100644
(file)
--- 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
//@ 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 01f170b40ce7b34d41a2c39c11e6d32ca40e6f07..7e45540ca74e98229462d35ae07c71ea2b73e516 100644
(file)
--- 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`.
mod callbacks {
// For now, we just decide that the callbacks have an argument of type `i32`.