From 06ad8ff7fbd2b65e99c8165c5ab0ad5aca09ea8d Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Tue, 27 Dec 2022 15:41:38 -0800 Subject: [PATCH] run cargo check next time thx --- src/font/system/std.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/font/system/std.rs b/src/font/system/std.rs index e6ed61b..12924b1 100644 --- a/src/font/system/std.rs +++ b/src/font/system/std.rs @@ -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();