Skip to content

Commit fd92f7d

Browse files
Merge pull request #3728 from practicalswift/normalize-chars
[gardening] Normalize character use (use ' and ").
2 parents 5a763f9 + 77b6df5 commit fd92f7d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

stdlib/public/SDK/Foundation/Locale.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internal func __NSLocaleBackstop() -> NSLocale
2727
/**
2828
`Locale` encapsulates information about linguistic, cultural, and technological conventions and standards. Examples of information encapsulated by a locale include the symbol used for the decimal separator in numbers and the way dates are formatted.
2929

30-
Locales are typically used to provide, format, and interpret information about and according to the users customs and preferences. They are frequently used in conjunction with formatters. Although you can use many locales, you usually use the one associated with the current user.
30+
Locales are typically used to provide, format, and interpret information about and according to the user's customs and preferences. They are frequently used in conjunction with formatters. Although you can use many locales, you usually use the one associated with the current user.
3131
*/
3232
public struct Locale : CustomStringConvertible, CustomDebugStringConvertible, Hashable, Equatable, ReferenceConvertible {
3333
public typealias ReferenceType = NSLocale

stdlib/public/SDK/Foundation/TimeZone.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ internal func __NSTimeZoneCurrent() -> NSTimeZone
2626

2727
`TimeZone` provides two static functions to get time zone values: `current` and `autoupdatingCurrent`. The `autoupdatingCurrent` time zone automatically tracks updates made by the user.
2828

29-
Note that time zone database entries such as America/Los_Angeles are IDs, not names. An example of a time zone name is Pacific Daylight Time. Although many `TimeZone` functions include the word name, they refer to IDs.
29+
Note that time zone database entries such as "America/Los_Angeles" are IDs, not names. An example of a time zone name is "Pacific Daylight Time". Although many `TimeZone` functions include the word "name", they refer to IDs.
3030

3131
Cocoa does not provide any API to change the time zone of the computer, or of other applications.
3232
*/
@@ -87,7 +87,7 @@ public struct TimeZone : CustomStringConvertible, CustomDebugStringConvertible,
8787

8888
/// Returns a time zone identified by a given abbreviation.
8989
///
90-
/// In general, you are discouraged from using abbreviations except for unique instances such as GMT. Time Zone abbreviations are not standardized and so a given abbreviation may have multiple meanings—for example, EST refers to Eastern Time in both the United States and Australia
90+
/// In general, you are discouraged from using abbreviations except for unique instances such as "GMT". Time Zone abbreviations are not standardized and so a given abbreviation may have multiple meanings—for example, "EST" refers to Eastern Time in both the United States and Australia
9191
///
9292
/// - parameter abbreviation: The abbreviation for the time zone.
9393
/// - returns: A time zone identified by abbreviation determined by resolving the abbreviation to a identifier using the abbreviation dictionary and then returning the time zone for that identifier. Returns `nil` if there is no match for abbreviation.
@@ -141,7 +141,7 @@ public struct TimeZone : CustomStringConvertible, CustomDebugStringConvertible,
141141

142142
/// Returns the abbreviation for the time zone at a given date.
143143
///
144-
/// Note that the abbreviation may be different at different dates. For example, during daylight saving time the US/Eastern time zone has an abbreviation of EDT. At other times, its abbreviation is EST.
144+
/// Note that the abbreviation may be different at different dates. For example, during daylight saving time the US/Eastern time zone has an abbreviation of "EDT." At other times, its abbreviation is "EST."
145145
/// - parameter date: The date to use for the calculation. The default value is the current date.
146146
public func abbreviation(for date: Date = Date()) -> String? {
147147
return _wrapped.abbreviation(for: date)

stdlib/public/SDK/Foundation/URL.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public struct URLResourceValues {
275275

276276
/// The document identifier -- a value assigned by the kernel to a document (which can be either a file or directory) and is used to identify the document regardless of where it gets moved on a volume.
277277
///
278-
/// The document identifier survives "safe save operations; i.e it is sticky to the path it was assigned to (`replaceItem(at:,withItemAt:,backupItemName:,options:,resultingItem:) throws` is the preferred safe-save API). The document identifier is persistent across system restarts. The document identifier is not transferred when the file is copied. Document identifiers are only unique within a single volume. This property is not supported by all volumes.
278+
/// The document identifier survives "safe save" operations; i.e it is sticky to the path it was assigned to (`replaceItem(at:,withItemAt:,backupItemName:,options:,resultingItem:) throws` is the preferred safe-save API). The document identifier is persistent across system restarts. The document identifier is not transferred when the file is copied. Document identifiers are only unique within a single volume. This property is not supported by all volumes.
279279
@available(OSX 10.10, iOS 8.0, *)
280280
public var documentIdentifier: Int? { return _get(.documentIdentifierKey) }
281281

0 commit comments

Comments
 (0)