From 15125a3de534e206358d52bb91190517f7eede74 Mon Sep 17 00:00:00 2001 From: Piotr Siuszko Date: Fri, 4 Jul 2025 09:31:26 +0200 Subject: [PATCH] Docs fix --- crates/bevy_remote/src/schemas/json_schema.rs | 4 ++-- crates/bevy_remote/src/schemas/reflect_info.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/bevy_remote/src/schemas/json_schema.rs b/crates/bevy_remote/src/schemas/json_schema.rs index cbc1584c11..3e37a126e4 100644 --- a/crates/bevy_remote/src/schemas/json_schema.rs +++ b/crates/bevy_remote/src/schemas/json_schema.rs @@ -155,7 +155,7 @@ pub struct JsonSchemaBevyType { /// Bevy specific field, names of the types that type reflects. Mapping of the names to the data types is provided by [`SchemaTypesMetadata`]. #[serde(skip_serializing_if = "Vec::is_empty", default)] pub reflect_type_data: Vec>, - /// Bevy specific field, [`TypeInfo`] type mapping. + /// Bevy specific field, [`bevy_reflect::TypeInfo`] type mapping. #[serde(skip_serializing_if = "Option::is_none", default)] pub kind: Option, /// JSON Schema specific field. @@ -288,7 +288,7 @@ impl From for JsonSchemaVariant { } } -/// Kind of json schema, maps [`TypeInfo`] type +/// Kind of json schema, maps [`bevy_reflect::TypeInfo`] type #[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Default, Reflect)] pub enum SchemaKind { /// Struct diff --git a/crates/bevy_remote/src/schemas/reflect_info.rs b/crates/bevy_remote/src/schemas/reflect_info.rs index 3f38e33c2f..03675b4032 100644 --- a/crates/bevy_remote/src/schemas/reflect_info.rs +++ b/crates/bevy_remote/src/schemas/reflect_info.rs @@ -849,11 +849,11 @@ pub enum InternalSchemaType { EnumVariant(VariantInfo), /// Holds named fields for struct, tuple, and tuple struct types. FieldsHolder(FieldsInformation), - /// Represents an Optional type (e.g., Option). + /// Represents an Optional type (e.g., `Option`). Optional { - /// Generic information about the wrapped type T in Option. + /// Generic information about the wrapped type `T` in `Option`. generic: GenericInfo, - /// Schema type information for the wrapped type T in Option. + /// Schema type information for the wrapped type `T` in `Option`. schema_type_info: Box, }, /// Represents a Map type (e.g., `HashMap`).