diff options
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/main.rs b/cli/src/main.rs index 7b961183..39769968 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -664,7 +664,7 @@ impl FontSearcher { let path = path.as_ref(); if let Ok(file) = File::open(path) { if let Ok(mmap) = unsafe { Mmap::map(&file) } { - for (i, info) in FontInfo::from_data(&mmap).enumerate() { + for (i, info) in FontInfo::iter(&mmap).enumerate() { self.book.push(info); self.fonts.push(FontSlot { path: path.into(), |
