[fix] typo in part12.rs
authoradispring <sunnyadi@163.com>
Mon, 29 Jul 2019 02:17:08 +0000 (10:17 +0800)
committeradispring <sunnyadi@163.com>
Mon, 29 Jul 2019 02:17:08 +0000 (10:17 +0800)
src/part12.rs

index e7ccf9933ec4c2cedb51947f7444ac5815008cad..276ccaf5330f3cc8ef36ca1790a1b638f1758d86 100644 (file)
@@ -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
 
 //@ ## `Rc`
 //@ The solution is to find some way of cloning `Callbacks` without cloning the environments. This
-//@ can be achieved with `Rc<T>`, a *reference-counted* pointer. This is is another example of a
+//@ can be achieved with `Rc<T>`, 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.
 //@ 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.