From: Ralf Jung Date: Tue, 7 Jun 2016 13:39:31 +0000 (+0200) Subject: update auto-gen files X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/a0edb0ae866081958e5d6e2ec5a3579d2bb01085?ds=inline;hp=d5cee5ca7d257faea7f68b8812bf4d1a88ab5229 update auto-gen files --- 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;