typo; emphasis
[rust-101.git] / src / part11.rs
index 5cc14622651e51e6006435141ad942725296e036..9d093e38163296786605f76b1e2af38a6cc2592a 100644 (file)
@@ -42,7 +42,7 @@ impl Callbacks {
 
     // Registration simply stores the callback.
     pub fn register(&mut self, callback: Box<FnMut(i32)>) {
-        self.callbacks.push(callback);                              /*@*/
+        self.callbacks.push(callback);
     }
 
     // We can also write a generic version of `register`, such that it will be instantiated with some concrete closure type `F`