From d502471be2d6a148e99ef6244ec12bb9b4fd8169 Mon Sep 17 00:00:00 2001 From: GuidoEspana Date: Fri, 13 Feb 2026 15:04:32 -0500 Subject: [PATCH] docs: Corrected then instead of them --- docs/book/src/migration_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/src/migration_guide.md b/docs/book/src/migration_guide.md index 95d375ed..b20ad4da 100644 --- a/docs/book/src/migration_guide.md +++ b/docs/book/src/migration_guide.md @@ -90,7 +90,7 @@ and API docs for the macros `define_property!`, `impl_property!`, | Concept | Old System | New System | Notes / Implications | | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | | **Property Type Structure** | Two separate types: (1) value type, and (2) property-identifier ZST. | A single type represents both the value and identifies the property. | Simplified to a single type | -| **Defining Properties** | Define a normal Rust type (or use an existing primitive, e.g. `u8`), then use a macro to define the identifying property type. | Define a normal Rust type, them use `impl_property` to declare it a `Property` for a particular `Entity` `E`. | | +| **Defining Properties** | Define a normal Rust type (or use an existing primitive, e.g. `u8`), then use a macro to define the identifying property type. | Define a normal Rust type, then use `impl_property` to declare it a `Property` for a particular `Entity` `E`. | | | **Entity Association** | Implicit—only one entity ("person") | Every property must explicitly specify the `Entity` it belongs to (e.g., `Person`); Entities are defined separately. | | | **Default Values** | Provided in the macro creating the property-identifier type. | Same but with updated syntax; default values are per `Property` implementation. | | | **Using Existing Types** | A single _value_ type can be used in multiple properties—including primitive types like `u8` | Only one property per type (per `Entity`); primitive types must be wrapped in a newtype. | Both systems require that the existing type implement the required property traits. |