Replaced deriving with derive.

This commit is contained in:
Aleksey Kuznetsov
2015-01-28 22:17:01 +05:00
parent a26f33c9f0
commit f376edbd19
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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,