mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: correct a comment to be more explicit that this is a hack
Swift SVN r18644
This commit is contained in:
@@ -725,7 +725,7 @@ extension String {
|
||||
) -> String? {
|
||||
return NSString(
|
||||
bytes: &bytes, length: min(bytes.count, length), encoding: encoding
|
||||
) as NSString? // Important: coerce to optional NSString to handle nil
|
||||
) as NSString? // HACK: FIXME: coerce to optional NSString to handle nil
|
||||
}
|
||||
|
||||
// - (instancetype)
|
||||
|
||||
Reference in New Issue
Block a user