File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/ASTGen/Sources/ASTGen Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ func makeExpansionOutputResult(
393
393
expandedSource: String ? ,
394
394
outputPointer: UnsafeMutablePointer < BridgedStringRef >
395
395
) -> Int {
396
- guard var expandedSource = expandedSource else {
396
+ guard let expandedSource = expandedSource else {
397
397
outputPointer. pointee = BridgedStringRef ( )
398
398
return - 1
399
399
}
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ func swift_ASTGen_pluginServerLoadLibraryPlugin(
81
81
assert ( diagnostics. isEmpty)
82
82
return true
83
83
}
84
- var errorMsgs = diagnostics. map ( { $0. message } ) . joined ( separator: " , " ) ;
84
+ let errorMsgs = diagnostics. map ( { $0. message } ) . joined ( separator: " , " ) ;
85
85
errorOut? . pointee = allocateBridgedString ( errorMsgs) ;
86
86
return false
87
87
} catch {
You can’t perform that action at this time.
0 commit comments