Format fix
This commit is contained in:
parent
9ed0787d41
commit
59cb4b6dc7
@ -524,7 +524,7 @@ impl Serialize for TypeReferencePath {
|
|||||||
where
|
where
|
||||||
S: Serializer,
|
S: Serializer,
|
||||||
{
|
{
|
||||||
serializer.serialize_str(&format!("{}", self))
|
serializer.serialize_str(&format!("{self}"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1167,7 +1167,7 @@ impl SchemaTypeInfo {
|
|||||||
};
|
};
|
||||||
let schema_id = id
|
let schema_id = id
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map(|id| Cow::Owned(format!("urn:bevy:{}", id)))
|
.map(|id| Cow::Owned(format!("urn:bevy:{id}")))
|
||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
let mut schema = JsonSchemaBevyType {
|
let mut schema = JsonSchemaBevyType {
|
||||||
id: schema_id,
|
id: schema_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user