Skip to content

Commit e888c87

Browse files
committed
Fix visibility on import triggering a compile warning
Previously, building sourcekit-lsp would produce the following warning: $ swift build Building for debugging... /Users/wilfred/src/sourcekit-lsp/Sources/SKLogging/CustomLogStringConvertible.swift:13:9: warning: package import of 'Foundation' was not used in package declarations 11 | //===----------------------------------------------------------------------===// 12 | 13 | package import Foundation | `- warning: package import of 'Foundation' was not used in package declarations Remove the visibility modifier, so no warning is produced.
1 parent 3f1568c commit e888c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SKLogging/CustomLogStringConvertible.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
package import Foundation
13+
import Foundation
1414

1515
#if !NO_CRYPTO_DEPENDENCY
1616
import Crypto

0 commit comments

Comments
 (0)