From 129e99ff088fad6ea8f3187680c15a0a3e2cc403 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 2 Sep 2013 17:08:43 +0100 Subject: [PATCH] Upgrade to rustc 0.8-pre (0ac3e02 2013-08-30 05:45:45 -0700) --- font.rs | 2 +- font_collection.rs | 2 +- font_descriptor.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/font.rs b/font.rs index 9135517..e02420b 100644 --- a/font.rs +++ b/font.rs @@ -78,7 +78,7 @@ impl AbstractCFTypeRef for CTFontRef { fn as_type_ref(&self) -> CFTypeRef { *self as CFTypeRef } #[fixed_stack_segment] - fn type_id() -> CFTypeID { + fn type_id(_dummy: Option) -> CFTypeID { unsafe { CTFontGetTypeID() } diff --git a/font_collection.rs b/font_collection.rs index 25f437c..d011bdc 100644 --- a/font_collection.rs +++ b/font_collection.rs @@ -27,7 +27,7 @@ impl AbstractCFTypeRef for CTFontCollectionRef { fn as_type_ref(&self) -> CFTypeRef { *self as CFTypeRef } #[fixed_stack_segment] - fn type_id() -> CFTypeID { + fn type_id(_dummy: Option) -> CFTypeID { unsafe { CTFontCollectionGetTypeID() } diff --git a/font_descriptor.rs b/font_descriptor.rs index f155422..fec5560 100644 --- a/font_descriptor.rs +++ b/font_descriptor.rs @@ -188,7 +188,7 @@ impl AbstractCFTypeRef for CTFontDescriptorRef { fn as_type_ref(&self) -> CFTypeRef { *self as CFTypeRef } #[fixed_stack_segment] - fn type_id() -> CFTypeID { + fn type_id(_dummy: Option) -> CFTypeID { unsafe { CTFontDescriptorGetTypeID() }