diff options
Diffstat (limited to 'font/src/ft/list_fonts.rs')
-rw-r--r-- | font/src/ft/list_fonts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/ft/list_fonts.rs b/font/src/ft/list_fonts.rs index fdadea82..5fa40ac8 100644 --- a/font/src/ft/list_fonts.rs +++ b/font/src/ft/list_fonts.rs @@ -380,7 +380,7 @@ pub mod fc { /// FcValueSave so that no references to application provided memory are /// retained. That is, the CharSet can be safely dropped immediately /// after being added to the pattern. - pub unsafe fn add_charset(&self, charset: &CharSetRef) -> bool { + pub fn add_charset(&self, charset: &CharSetRef) -> bool { unsafe { FcPatternAddCharSet( self.as_ptr(), |