Open waywardmonkeys opened 3 months ago
In fontique there are some methods parse which could instead use FromStr and be able to use the str::parse function as detailed here: https://doc.rust-lang.org/std/primitive.str.html#method.parse
fontique
parse
FromStr
str::parse
These methods are:
GenericFamily::parse()
Stretch::parse()
Style::parse()
Weight::parse()
This was suggested by @DJMcNab in #97.
In
fontique
there are some methodsparse
which could instead useFromStr
and be able to use thestr::parse
function as detailed here: https://doc.rust-lang.org/std/primitive.str.html#method.parseThese methods are:
GenericFamily::parse()
Stretch::parse()
Style::parse()
Weight::parse()
This was suggested by @DJMcNab in #97.