diff options
Diffstat (limited to 'font/src/ft/fc/config.rs')
-rw-r--r-- | font/src/ft/fc/config.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/font/src/ft/fc/config.rs b/font/src/ft/fc/config.rs index 12ec2844..cc3b5e52 100644 --- a/font/src/ft/fc/config.rs +++ b/font/src/ft/fc/config.rs @@ -17,12 +17,10 @@ use super::ffi::{FcConfig, FcConfigDestroy, FcConfigGetCurrent, FcConfigGetFonts use super::{FontSetRef, SetName}; foreign_type! { - type CType = FcConfig; - fn drop = FcConfigDestroy; - /// Wraps an FcConfig instance (owned) - pub struct Config; - /// Wraps an FcConfig reference (borrowed) - pub struct ConfigRef; + pub type Config { + type CType = FcConfig; + fn drop = FcConfigDestroy; + } } impl Config { |