resolve all lints, update MSRV

This commit is contained in:
dsgallups 2025-01-22 16:29:02 -05:00 committed by Jeremy Soller
parent 166b59f560
commit f05a69a9d9
18 changed files with 251 additions and 283 deletions

View file

@ -185,11 +185,11 @@ mod test {
let now = std::time::Instant::now();
let mut db = fontdb::Database::new();
let locale = get_locale().unwrap();
let locale = get_locale().expect("Local available");
db.load_system_fonts();
FontSystem::new_with_locale_and_db(locale, db);
#[cfg(not(target_arch = "wasm32"))]
println!("Fonts load time {}ms.", now.elapsed().as_millis())
println!("Fonts load time {}ms.", now.elapsed().as_millis());
}
}