Fixed libcore/cell.rs example

This commit is contained in:
Oleg Nosov
2019-11-06 01:03:31 +03:00
parent 45f281d461
commit 6a5931921c

View File

@@ -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,
//! }
//! }
//! }
//!