aboutsummaryrefslogtreecommitdiff
path: root/font/src/ft/fc/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'font/src/ft/fc/config.rs')
-rw-r--r--font/src/ft/fc/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/ft/fc/config.rs b/font/src/ft/fc/config.rs
index 92993fe8..9744b37a 100644
--- a/font/src/ft/fc/config.rs
+++ b/font/src/ft/fc/config.rs
@@ -38,7 +38,7 @@ impl Config {
impl ConfigRef {
/// Returns one of the two sets of fonts from the configuration as
/// specified by `set`.
- pub fn get_fonts<'a>(&'a self, set: SetName) -> &'a FontSetRef {
+ pub fn get_fonts(&self, set: SetName) -> &FontSetRef {
unsafe {
let ptr = FcConfigGetFonts(self.as_ptr(), set as u32);
FontSetRef::from_ptr(ptr)