docs: fix typos in doc comments and DocC article

This commit is contained in:
wjdtjq6 authored and 소정섭 committed 2026-07-02 21:17:11 +09:00
1 parent 6c12132eac
commit 62a08e503e
4 files changed
+6 -6

No files matched your search

@@ -61,7 +61,7 @@ TrailingArray.withTemporaryValue(header: Coordinates(numPoints: 3), repeating: P
```
### Interoperability with unsafe C APIs
``TrailingArray`` provides facilities for working with the underlying unsafe pointers, which can be useful when interoperating with C APIs. ``TrailingArray`` can take ownership of a heap-allocated pointer to its `Header` type (such as one might get back from a C API api) using `init(consuming:)`:
``TrailingArray`` provides facilities for working with the underlying unsafe pointers, which can be useful when interoperating with C APIs. ``TrailingArray`` can take ownership of a heap-allocated pointer to its `Header` type (such as one might get back from a C API) using `init(consuming:)`:
```swift
init(consuming pointer: UnsafeMutablePointer<Header>)