Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit c01255e

Browse files
committed
Fix warning: using '_' to ignore the result of a Void-returning function is redundant
1 parent 7d31509 commit c01255e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDoc/SourceFile.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public struct SourceFile: Hashable, Codable {
4545
sourceLocationConverter = SourceLocationConverter(file: url.path(relativeTo: directory), tree: tree)
4646
super.init()
4747

48-
_ = walk(tree)
48+
walk(tree)
4949

5050
assert(context.isEmpty)
5151
}

0 commit comments

Comments
 (0)