resolve all lints, update MSRV
This commit is contained in:
parent
166b59f560
commit
f05a69a9d9
18 changed files with 251 additions and 283 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue