Skip to content

Commit a0d1859

Browse files
committed
Apply keyword_idents_2024
1 parent 24813db commit a0d1859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/cargo-util-schemas/src/schema.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ impl JsonSchema for TomlValueWrapper {
1212
"TomlValue".into()
1313
}
1414

15-
fn json_schema(gen: &mut schemars::SchemaGenerator) -> schemars::Schema {
15+
fn json_schema(generator: &mut schemars::SchemaGenerator) -> schemars::Schema {
1616
// HACK: this is both more and less permissive than `TomlValue` but its close
17-
gen.subschema_for::<serde_json::Value>().into()
17+
generator.subschema_for::<serde_json::Value>().into()
1818
}
1919
}

0 commit comments

Comments
 (0)