fmt: the font fallback path list fits on one line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
51a9b899c1
commit
68352dab02
|
|
@ -936,11 +936,7 @@ impl FontDb {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
let mut paths: Vec<PathBuf> = self
|
||||
.read_catalog()
|
||||
.values()
|
||||
.flat_map(|c| c.faces.iter().map(|(_, p)| p.clone()))
|
||||
.collect();
|
||||
let mut paths: Vec<PathBuf> = self.read_catalog().values().flat_map(|c| c.faces.iter().map(|(_, p)| p.clone())).collect();
|
||||
paths.sort();
|
||||
paths.dedup();
|
||||
for p in paths {
|
||||
|
|
|
|||
Loading…
Reference in New Issue