docs/Writerside/topics/allocator.h.md

changeset 1694
a2757c6427cc
parent 1539
2cbdb482d325
--- a/docs/Writerside/topics/allocator.h.md	Wed Dec 31 15:25:30 2025 +0100
+++ b/docs/Writerside/topics/allocator.h.md	Wed Dec 31 16:01:08 2025 +0100
@@ -103,7 +103,7 @@
 if (cx_reallocate(&mem, capacity + 32)) // ... do error handling
 ```
 
-> Please pay special attention to always use `cxFree()` and the  `cxRealloc()`-family of functions
+> Please pay special attention and always use `cxFree()` and the `cxRealloc()`-family of functions
 > with the **same** allocator that was used to allocate the memory.
 {style="warning"}
 
@@ -158,7 +158,7 @@
 typedef void (*cx_destructor_func2)(void *data, void *memory);
 ```
 
-The first one is called _simple_ destructor (e.g. in the context of [collections](collection.h.md)),
+The first one is called _simple_ destructor (e.g., in the context of [collections](collection.h.md)),
 and the second one is called _advanced_ destructor.
 The only difference is that you can pass additional custom `data` to an advanced destructor function.
 
@@ -226,7 +226,7 @@
 }
 ```
 
-Clone functions are, for example, used by the functions to clone [lists](list.h.md#clone) or [maps](map.h.md#clone).
+Clone functions are, for example, used by [lists](list.h.md#clone) or [maps](map.h.md#clone).
 
 <seealso>
 <category ref="apidoc">

mercurial