Rust 1.85 (#25272)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Anthony Eid <hello@anthonyeid.me>
This commit is contained in:
co-authored by
Anthony Eid
parent
fc52b43159
commit
e4e758db3a
@@ -8,7 +8,7 @@ pub struct SettingsJsonSchemaParams<'a> {
|
||||
pub font_names: &'a [String],
|
||||
}
|
||||
|
||||
impl<'a> SettingsJsonSchemaParams<'a> {
|
||||
impl SettingsJsonSchemaParams<'_> {
|
||||
pub fn font_family_schema(&self) -> Schema {
|
||||
let available_fonts: Vec<_> = self.font_names.iter().cloned().map(Value::String).collect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user