Changing RefCell to Cell in transaction. Implementing Copy on Uints.

This commit is contained in:
Tomusdrw
2016-02-18 23:01:35 +01:00
committed by Tomasz Drwięga
parent 7c3d7fc460
commit aab274d3ef
2 changed files with 29 additions and 25 deletions

View File

@@ -304,6 +304,8 @@ macro_rules! impl_hash {
}
}
impl Copy for $from {}
#[cfg_attr(feature="dev", allow(expl_impl_clone_on_copy))]
impl Clone for $from {
fn clone(&self) -> $from {
unsafe {