mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
[BasicContainers] Fix typos in doc comments
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -264,7 +264,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
/// This optimization may be removed in future versions; do not rely on it.
|
||||
///
|
||||
/// - Parameter index: A valid index of the array. On return, `index` is
|
||||
/// set to `limit` if
|
||||
/// set to the resulting position.
|
||||
/// - Parameter n: The distance to offset `index`.
|
||||
/// On return, `n` is set to zero if the operation succeeded without
|
||||
/// hitting the limit; otherwise, `n` reflects the number of steps that
|
||||
|
||||
@@ -281,7 +281,7 @@ extension UniqueArray where Element: ~Copyable {
|
||||
|
||||
@available(SwiftStdlib 5.0, *)
|
||||
extension UniqueArray {
|
||||
/// Copyies the elements of a fully initialized buffer pointer into this
|
||||
/// Copies the elements of a fully initialized buffer pointer into this
|
||||
/// array at the specified position.
|
||||
///
|
||||
/// The new elements are inserted before the element currently at the
|
||||
@@ -311,7 +311,7 @@ extension UniqueArray {
|
||||
unsafe _storage.insert(copying: newElements, at: index)
|
||||
}
|
||||
|
||||
/// Copyies the elements of a fully initialized buffer pointer into this
|
||||
/// Copies the elements of a fully initialized buffer pointer into this
|
||||
/// array at the specified position.
|
||||
///
|
||||
/// The new elements are inserted before the element currently at the
|
||||
|
||||
Reference in new issue
Block a user