Skip to content

Commit 51273ff

Browse files
authored
Merge pull request #9607 from practicalswift/gardening-20170515
2 parents 88d3d20 + aae419a commit 51273ff

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

stdlib/public/SDK/Foundation/NSStringAPI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ extension String {
267267
/// strings. See the `getLineStart(_:end:contentsEnd:for:)` method for
268268
/// additional information.
269269
///
270-
/// Case transformations arent guaranteed to be symmetrical or to produce
270+
/// Case transformations aren't guaranteed to be symmetrical or to produce
271271
/// strings of the same lengths as the originals. See lowercased for an
272272
/// example.
273273
public var capitalized: String {

stdlib/public/core/String.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public protocol StringProtocol
7777
/// lifetime of the closure. Do not escape it from the closure for later
7878
/// use.
7979
///
80-
/// - Parameter body: A closure with an pointer parameter that points to a
80+
/// - Parameter body: A closure with a pointer parameter that points to a
8181
/// null-terminated sequence of UTF-8 code units. If `body` has a return
8282
/// value, it is used as the return value for the `withCString(_:)`
8383
/// method. The pointer argument is valid only for the duration of the
@@ -94,7 +94,7 @@ public protocol StringProtocol
9494
/// use.
9595
///
9696
/// - Parameters:
97-
/// - body: A closure with an pointer parameter that points to a
97+
/// - body: A closure with a pointer parameter that points to a
9898
/// null-terminated sequence of code units. If `body` has a return
9999
/// value, it is used as the return value for the
100100
/// `withCString(encodedAs:_:)` method. The pointer argument is valid

stdlib/public/core/StringCharacterView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ extension String.CharacterView : BidirectionalCollection {
284284

285285
// Unified CJK Han ideographs, common and some supplemental, amongst
286286
// others:
287-
// 0x34000xA4CF
287+
// 0x3400-0xA4CF
288288
if 0x3400 <= x && x <= 0xa4cf {
289289
return true
290290
}

stdlib/public/core/Substring.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public struct Substring : StringProtocol {
213213
/// lifetime of the closure. Do not escape it from the closure for later
214214
/// use.
215215
///
216-
/// - Parameter body: A closure with an pointer parameter that points to a
216+
/// - Parameter body: A closure with a pointer parameter that points to a
217217
/// null-terminated sequence of UTF-8 code units. If `body` has a return
218218
/// value, it is used as the return value for the `withCString(_:)`
219219
/// method. The pointer argument is valid only for the duration of the
@@ -238,7 +238,7 @@ public struct Substring : StringProtocol {
238238
/// use.
239239
///
240240
/// - Parameters:
241-
/// - body: A closure with an pointer parameter that points to a
241+
/// - body: A closure with a pointer parameter that points to a
242242
/// null-terminated sequence of code units. If `body` has a return
243243
/// value, it is used as the return value for the
244244
/// `withCString(encodedAs:_:)` method. The pointer argument is valid

0 commit comments

Comments
 (0)