Update for rust beta

Now, 'Copy' is subtrait of 'Clone'.
This commit is contained in:
Hyeon Kim
2015-04-04 03:06:41 +09:00
parent fd42e976f7
commit e2631355f2
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ pub type CFArrayEqualCallBack = *const u8;
#[allow(dead_code)]
#[repr(C)]
#[derive(Copy)]
#[derive(Clone, Copy)]
pub struct CFArrayCallBacks {
version: CFIndex,
retain: CFArrayRetainCallBack,
+1 -1
View File
@@ -37,7 +37,7 @@ pub type CFOptionFlags = u32;
#[allow(dead_code)]
#[repr(C)]
#[derive(Copy)]
#[derive(Clone, Copy)]
pub struct CFRange {
location: CFIndex,
length: CFIndex
+2 -2
View File
@@ -25,7 +25,7 @@ pub type CFDictionaryRetainCallBack = *const u8;
#[allow(dead_code)]
#[repr(C)]
#[derive(Copy)]
#[derive(Clone, Copy)]
pub struct CFDictionaryKeyCallBacks {
version: CFIndex,
retain: CFDictionaryRetainCallBack,
@@ -37,7 +37,7 @@ pub struct CFDictionaryKeyCallBacks {
#[allow(dead_code)]
#[repr(C)]
#[derive(Copy)]
#[derive(Clone, Copy)]
pub struct CFDictionaryValueCallBacks {
version: CFIndex,
retain: CFDictionaryRetainCallBack,
+1 -1
View File
@@ -23,7 +23,7 @@ pub type CFSetHashCallBack = *const u8;
#[allow(dead_code)]
#[repr(C)]
#[derive(Copy)]
#[derive(Clone, Copy)]
pub struct CFSetCallBacks {
version: CFIndex,
retain: CFSetRetainCallBack,