mirror of
https://github.com/apple/swift-collections
synced 2026-11-24 04:27:53 +00:00
docs: fix typos in doc comments and DocC article
This commit is contained in:
1 parent
6c12132eac
commit
62a08e503e
4 files changed
+6
-6
No files matched your search
+1
-1
@@ -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>)
|
||||
|
||||
Reference in new issue
Block a user