Skip to content

Commit

Permalink
Fix SpellbookLog.try syntax for trailing closure
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkenso committed Dec 10, 2024
1 parent 585580f commit e7c8866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SpellbookFoundation/Common/SpellbookLog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ extension SpellbookLog {
function: StaticString = #function,
line: Int = #line,
context: Any? = nil,
body: () throws -> R
_ body: () throws -> R
) -> R? {
do {
return try body()
Expand All @@ -153,7 +153,7 @@ extension SpellbookLog {
function: StaticString = #function,
line: Int = #line,
context: Any? = nil,
body: () throws -> R
_ body: () throws -> R
) -> R? {
do {
return try body()
Expand Down

0 comments on commit e7c8866

Please sign in to comment.