Parcourir la source

doc: fixed a couple of typos

Michele Caini il y a 4 ans
Parent
commit
74cdf000b4
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      docs/md/core.md
  2. 1 1
      docs/md/poly.md

+ 1 - 1
docs/md/core.md

@@ -693,7 +693,7 @@ Here is a (possibly incomplete) list of the functionalities that come with a
 type list:
 
 * `type_list_element[_t]` to get the N-th element of a type list.
-* `type_list_cast[_t]` and a handy `operator+` to concatenate type lists.
+* `type_list_cat[_t]` and a handy `operator+` to concatenate type lists.
 * `type_list_unique[_t]` to remove duplicate types from a type list.
 * `type_list_contains[_v]` to know if a type list contains a given type.
 * `type_list_diff[_t]` to remove types from type lists.

+ 1 - 1
docs/md/poly.md

@@ -120,7 +120,7 @@ external call:
 struct Drawable: entt::type_list<> {
     template<typename Base>
     struct type: Base {
-        bool draw() const { entt::poly_call<0>(*this); }
+        void draw() const { entt::poly_call<0>(*this); }
     };
 
     // ...