Skip to content

[gardening] Fix a-vs-an typos. Fix word processing artefacts. #9607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/public/SDK/Foundation/NSStringAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ extension String {
/// strings. See the `getLineStart(_:end:contentsEnd:for:)` method for
/// additional information.
///
/// Case transformations arent guaranteed to be symmetrical or to produce
/// Case transformations aren't guaranteed to be symmetrical or to produce
/// strings of the same lengths as the originals. See lowercased for an
/// example.
public var capitalized: String {
Expand Down
4 changes: 2 additions & 2 deletions stdlib/public/core/String.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public protocol StringProtocol
/// lifetime of the closure. Do not escape it from the closure for later
/// use.
///
/// - Parameter body: A closure with an pointer parameter that points to a
/// - Parameter body: A closure with a pointer parameter that points to a
/// null-terminated sequence of UTF-8 code units. If `body` has a return
/// value, it is used as the return value for the `withCString(_:)`
/// method. The pointer argument is valid only for the duration of the
Expand All @@ -94,7 +94,7 @@ public protocol StringProtocol
/// use.
///
/// - Parameters:
/// - body: A closure with an pointer parameter that points to a
/// - body: A closure with a pointer parameter that points to a
/// null-terminated sequence of code units. If `body` has a return
/// value, it is used as the return value for the
/// `withCString(encodedAs:_:)` method. The pointer argument is valid
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/core/StringCharacterView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ extension String.CharacterView : BidirectionalCollection {

// Unified CJK Han ideographs, common and some supplemental, amongst
// others:
// 0x34000xA4CF
// 0x3400-0xA4CF
if 0x3400 <= x && x <= 0xa4cf {
return true
}
Expand Down
4 changes: 2 additions & 2 deletions stdlib/public/core/Substring.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public struct Substring : StringProtocol {
/// lifetime of the closure. Do not escape it from the closure for later
/// use.
///
/// - Parameter body: A closure with an pointer parameter that points to a
/// - Parameter body: A closure with a pointer parameter that points to a
/// null-terminated sequence of UTF-8 code units. If `body` has a return
/// value, it is used as the return value for the `withCString(_:)`
/// method. The pointer argument is valid only for the duration of the
Expand All @@ -238,7 +238,7 @@ public struct Substring : StringProtocol {
/// use.
///
/// - Parameters:
/// - body: A closure with an pointer parameter that points to a
/// - body: A closure with a pointer parameter that points to a
/// null-terminated sequence of code units. If `body` has a return
/// value, it is used as the return value for the
/// `withCString(encodedAs:_:)` method. The pointer argument is valid
Expand Down