From: Ralf Jung Date: Mon, 29 Jul 2019 08:26:42 +0000 (+0200) Subject: Merge pull request #35 from adispring/master X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/df09db3d90ff0e7c9cfdde074dfeb514eda7ed45?hp=fae4918e595dcdac5346a922c2f08debc8de06df Merge pull request #35 from adispring/master [fix] typo in part12.rs --- diff --git a/src/part12.rs b/src/part12.rs index e7ccf99..276ccaf 100644 --- a/src/part12.rs +++ b/src/part12.rs @@ -12,7 +12,7 @@ use std::cell::{Cell, RefCell}; //@ ## `Rc` //@ The solution is to find some way of cloning `Callbacks` without cloning the environments. This -//@ can be achieved with `Rc`, a *reference-counted* pointer. This is is another example of a +//@ can be achieved with `Rc`, a *reference-counted* pointer. This is another example of a //@ smart pointer. You can `clone` an `Rc` as often as you want, that doesn't affect the data it //@ contains. It only creates more references to the same data. Once all the references are gone, //@ the data is deleted.