Merge pull request #119 from CryZe/fix-no-std-signature
Fix `FontSystem::new_with_locale_and_db` Signature
This commit is contained in:
commit
615dc51907
3 changed files with 6 additions and 6 deletions
|
|
@ -28,11 +28,8 @@ impl FontSystem {
|
|||
Self { locale, db }
|
||||
}
|
||||
|
||||
pub fn new_with_locale_and_db(locale: &str, db: fontdb::Database) -> Self {
|
||||
Self {
|
||||
locale: locale.to_string(),
|
||||
db,
|
||||
}
|
||||
pub fn new_with_locale_and_db(locale: String, db: fontdb::Database) -> Self {
|
||||
Self { locale, db }
|
||||
}
|
||||
|
||||
pub fn locale(&self) -> &str {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue