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