Format fix

This commit is contained in:
Piotr Siuszko 2025-07-03 17:13:50 +02:00
parent 9ed0787d41
commit 59cb4b6dc7

View File

@ -524,7 +524,7 @@ impl Serialize for TypeReferencePath {
where
S: Serializer,
{
serializer.serialize_str(&format!("{}", self))
serializer.serialize_str(&format!("{self}"))
}
}
@ -1167,7 +1167,7 @@ impl SchemaTypeInfo {
};
let schema_id = id
.as_ref()
.map(|id| Cow::Owned(format!("urn:bevy:{}", id)))
.map(|id| Cow::Owned(format!("urn:bevy:{id}")))
.unwrap_or_default();
let mut schema = JsonSchemaBevyType {
id: schema_id,