run cargo check next time thx
This commit is contained in:
parent
5533af1a53
commit
06ad8ff7fb
1 changed files with 2 additions and 2 deletions
|
|
@ -48,11 +48,11 @@ impl FontSystem {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Self::new_with_locale_and_db(&locale, db)
|
Self::new_with_locale_and_db(locale, db)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new [`FontSystem`], manually specifying the current locale and font database.
|
/// Create a new [`FontSystem`], manually specifying the current locale and font database.
|
||||||
pub fn new_with_locale_and_db(locale: &str, mut db: fontdb::Database) -> Self {
|
pub fn new_with_locale_and_db(locale: String, mut db: fontdb::Database) -> Self {
|
||||||
{
|
{
|
||||||
let now = std::time::Instant::now();
|
let now = std::time::Instant::now();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue