stdlib: correct a comment to be more explicit that this is a hack

Swift SVN r18644
This commit is contained in:
Dmitri Hrybenko
2014-05-26 23:49:50 +00:00
parent 30341ed401
commit 470fee7838

View File

@@ -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)