Skip to content

Commit

Permalink
remove useless try
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll authored May 30, 2022
1 parent d0182b4 commit 8e8f313
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/_docs/reference/experimental/main-annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ import scala.util.CommandLineParser.FromString[T]
def run(program: () => Int): Unit =
println("executing program")

try {
val result = program()
println("result: " + result)
println("executed program")
val result = program()
println("result: " + result)
println("executed program")

end myMain
```

0 comments on commit 8e8f313

Please sign in to comment.