소스 검색

fixed typo

Michele Caini 7 년 전
부모
커밋
1868df61ea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/md/entity.md

+ 1 - 1
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:
 assigned to an entity:
 
 
 ```cpp
 ```cpp
-entt::connnect<a_type, another_type>(registry.on_construct<my_type>());
+entt::connect<a_type, another_type>(registry.on_construct<my_type>());
 ```
 ```
 
 
 A component is assigned to an entity and thus default initialized only in case
 A component is assigned to an entity and thus default initialized only in case