Skip to content

Commit f18f93c

Browse files
author
Jesse Haigh
committed
remove optional return type
1 parent b7b9d35 commit f18f93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDocC/Model/Rendering/Content/RenderBlockContent.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public enum RenderBlockContent: Equatable {
210210
}
211211

212212
/// A function that parses array values on code block options from the language line string
213-
static internal func parseCodeBlockOptionsArray(_ value: String?) -> [Int]? {
213+
static internal func parseCodeBlockOptionsArray(_ value: String?) -> [Int] {
214214
guard var s = value?.trimmingCharacters(in: .whitespaces), !s.isEmpty else { return [] }
215215

216216
if s.hasPrefix("[") && s.hasSuffix("]") {

0 commit comments

Comments
 (0)