File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1031,7 +1031,7 @@ public func += <
1031
1031
/// Create a unique mutable buffer that has enough capacity to hold 'newCount'
1032
1032
/// elements and at least 'requiredCapacity' elements. Set the count of the new
1033
1033
/// buffer to 'newCount'. The content of the buffer is uninitialized.
1034
- /// The forumula used to compute the new buffers capacity is:
1034
+ /// The formula used to compute the new buffers capacity is:
1035
1035
/// max(requiredCapacity, source.capacity) if newCount <= source.capacity
1036
1036
/// max(requiredCapacity, _growArrayCapacity(source.capacity)) otherwise
1037
1037
@inline ( never)
@@ -1046,7 +1046,7 @@ internal func _forceCreateUniqueMutableBuffer<_Buffer : _ArrayBufferType>(
1046
1046
/// Create a unique mutable buffer that has enough capacity to hold
1047
1047
/// 'minNewCapacity' elements and set the count of the new buffer to
1048
1048
/// 'countForNewBuffer'. The content of the buffer uninitialized.
1049
- /// The forumula used to compute the new buffers capacity is:
1049
+ /// The formula used to compute the new buffers capacity is:
1050
1050
/// max(minNewCapacity, source.capacity) if minNewCapacity <= source.capacity
1051
1051
/// max(minNewCapacity, _growArrayCapacity(source.capacity)) otherwise
1052
1052
@inline ( never)
You can’t perform that action at this time.
0 commit comments