Skip to content

Commit

Permalink
Fix single-use-lifetime that was fontconfig specific
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Dec 18, 2024
1 parent 4bc9544 commit 9c895cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fontique/src/backend/fontconfig/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ fn strip_rbiz(name: &str) -> &str {
name
}

fn find_best_family<'a>(
raw_families: impl Iterator<Item = &'a RawFamily>,
fn find_best_family(
raw_families: impl Iterator<Item = &'_ RawFamily>,
text: &str,
) -> Option<FamilyId> {
let char_count = text.chars().count();
Expand Down

0 comments on commit 9c895cc

Please sign in to comment.