Skip to content

Commit 65b2571

Browse files
committed
Clean up comments
1 parent 88cd771 commit 65b2571

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SKCore/CompilationDatabase.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,14 @@ public struct FixedCompilationDatabase: CompilationDatabase, Equatable {
115115

116116
extension FixedCompilationDatabase {
117117
/// Loads the compilation database located in `directory`, if any.
118-
/// returns: `nil` if `compile_flags.txt` was not found
118+
/// - Returns: `nil` if `compile_flags.txt` was not found
119119
public init?(directory: AbsolutePath, _ fileSystem: FileSystem = localFileSystem) throws {
120120
let path = directory.appending(component: "compile_flags.txt")
121121
try self.init(file: path, fileSystem)
122122
}
123123

124124
/// Loads the compilation database from `file`
125-
/// returns: `nil` if the file does not exist
125+
/// - Returns: `nil` if the file does not exist
126126
public init?(file: AbsolutePath, _ fileSystem: FileSystem = localFileSystem) throws {
127127
self.directory = file.dirname
128128

@@ -217,7 +217,7 @@ extension JSONCompilationDatabase {
217217
}
218218

219219
/// Loads the compilation database from `file`
220-
/// returns: `nil` if the file does not exist
220+
/// - Returns: `nil` if the file does not exist
221221
public init?(file: AbsolutePath, _ fileSystem: FileSystem = localFileSystem) throws {
222222
guard fileSystem.exists(file) else {
223223
return nil

0 commit comments

Comments
 (0)