run cargo check next time thx

This commit is contained in:
Audrey Dutcher 2022-12-27 15:41:38 -08:00 committed by Jeremy Soller
parent 5533af1a53
commit 06ad8ff7fb

View file

@ -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.
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();