Skip to content

Commit c283131

Browse files
authored
Merge pull request swiftlang#1306 from rudkx/fix-one-more-iuo-in-type
2 parents f25f65c + e185e38 commit c283131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSString.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ extension NSString {
11911191
}
11921192

11931193
public convenience init(format: NSString, _ args: CVarArg...) {
1194-
let str = withVaList(args) { (vaPtr) -> CFString! in
1194+
let str = withVaList(args) { (vaPtr) -> CFString? in
11951195
CFStringCreateWithFormatAndArguments(kCFAllocatorSystemDefault, nil, format._cfObject, vaPtr)
11961196
}!
11971197
self.init(str._swiftObject)

0 commit comments

Comments
 (0)