Replaced deriving with derive.
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ pub type CFArrayEqualCallBack = *const u8;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[repr(C)]
|
||||
#[deriving(Copy)]
|
||||
#[derive(Copy)]
|
||||
pub struct CFArrayCallBacks {
|
||||
version: CFIndex,
|
||||
retain: CFArrayRetainCallBack,
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ pub type CFOptionFlags = u32;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[repr(C)]
|
||||
#[deriving(Copy)]
|
||||
#[derive(Copy)]
|
||||
pub struct CFRange {
|
||||
location: CFIndex,
|
||||
length: CFIndex
|
||||
|
||||
+2
-2
@@ -26,7 +26,7 @@ pub type CFDictionaryRetainCallBack = *const u8;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[repr(C)]
|
||||
#[deriving(Copy)]
|
||||
#[derive(Copy)]
|
||||
pub struct CFDictionaryKeyCallBacks {
|
||||
version: CFIndex,
|
||||
retain: CFDictionaryRetainCallBack,
|
||||
@@ -38,7 +38,7 @@ pub struct CFDictionaryKeyCallBacks {
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[repr(C)]
|
||||
#[deriving(Copy)]
|
||||
#[derive(Copy)]
|
||||
pub struct CFDictionaryValueCallBacks {
|
||||
version: CFIndex,
|
||||
retain: CFDictionaryRetainCallBack,
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ pub type CFSetHashCallBack = *const u8;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[repr(C)]
|
||||
#[deriving(Copy)]
|
||||
#[derive(Copy)]
|
||||
pub struct CFSetCallBacks {
|
||||
version: CFIndex,
|
||||
retain: CFSetRetainCallBack,
|
||||
|
||||
Reference in New Issue
Block a user