Fixed libcore/cell.rs example
This commit is contained in:
@@ -153,7 +153,10 @@
|
|||||||
//! impl<T: ?Sized> Clone for Rc<T> {
|
//! impl<T: ?Sized> Clone for Rc<T> {
|
||||||
//! fn clone(&self) -> Rc<T> {
|
//! fn clone(&self) -> Rc<T> {
|
||||||
//! self.inc_strong();
|
//! self.inc_strong();
|
||||||
//! Rc { ptr: self.ptr }
|
//! Rc {
|
||||||
|
//! ptr: self.ptr,
|
||||||
|
//! phantom: PhantomData,
|
||||||
|
//! }
|
||||||
//! }
|
//! }
|
||||||
//! }
|
//! }
|
||||||
//!
|
//!
|
||||||
|
|||||||
Reference in New Issue
Block a user