Fixed libcore/cell.rs example

This commit is contained in:
Oleg Nosov 2019-11-06 01:03:31 +03:00
parent 45f281d461
commit 6a5931921c
No known key found for this signature in database
GPG Key ID: DE90B83800644E24

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