diff --git a/docs/md/entity.md b/docs/md/entity.md index df59a4bf7..1af4f9541 100644 --- a/docs/md/entity.md +++ b/docs/md/entity.md @@ -818,7 +818,7 @@ The following adds components `a_type` and `another_type` whenever `my_type` is assigned to an entity: ```cpp -entt::connnect(registry.on_construct()); +entt::connect(registry.on_construct()); ``` A component is assigned to an entity and thus default initialized only in case