Skip to content

Commit ae423c5

Browse files
committed
[NFC] Replace two uses of 'fileprivate' with 'private'
1 parent cd4f3b0 commit ae423c5

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

stdlib/public/core/Diffing.swift

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,14 @@ extension BidirectionalCollection where Element: Equatable {
179179

180180
// MARK: Internal implementation
181181

182-
// _V is a rudimentary type made to represent the rows of the triangular matrix type used by the Myer's algorithm
182+
// _V is a rudimentary type made to represent the rows of the triangular matrix
183+
// type used by the Myer's algorithm.
183184
//
184-
// This type is basically an array that only supports indexes in the set `stride(from: -d, through: d, by: 2)` where `d` is the depth of this row in the matrix
185-
// `d` is always known at allocation-time, and is used to preallocate the structure.
186-
fileprivate struct _V {
185+
// This type is basically an array that only supports indexes in the set
186+
// `stride(from: -d, through: d, by: 2)` where `d` is the depth of this row in
187+
// the matrix `d` is always known at allocation-time, and is used to preallocate
188+
// the structure.
189+
private struct _V {
187190

188191
private var a: [Int]
189192
#if INTERNAL_CHECKS_ENABLED
@@ -222,7 +225,7 @@ fileprivate struct _V {
222225
}
223226

224227
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
225-
fileprivate func _myers<C,D>(
228+
private func _myers<C,D>(
226229
from old: C, to new: D,
227230
using cmp: (C.Element, D.Element) -> Bool
228231
) -> CollectionDifference<C.Element>

0 commit comments

Comments
 (0)