From a0edb0ae866081958e5d6e2ec5a3579d2bb01085 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 7 Jun 2016 15:39:31 +0200 Subject: [PATCH 1/1] update auto-gen files --- workspace/src/part12.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace/src/part12.rs b/workspace/src/part12.rs index 390b5df..1593e8a 100644 --- a/workspace/src/part12.rs +++ b/workspace/src/part12.rs @@ -46,7 +46,7 @@ pub fn main() { fn demo_cell(c: &mut Callbacks) { { let count = Cell::new(0); - // Again, we have to move ownership if the `count` into the environment closure. + // Again, we have to move ownership of the `count` into the environment closure. c.register(move |val| { // In here, all we have is a shared reference of our environment. But that's good enough for the `get` and `set` of the cell! let new_count = count.get()+1; -- 2.30.2