Skip to content

Commit 14f494e

Browse files
authored
Add missing case (#3234)
1 parent 0f54b92 commit 14f494e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/core/futures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ object Test extends App {
11811181
completion match {
11821182
case Failure(exception) if exception.getCause != null =>
11831183
println(s" caused by ${exception.getCause}")
1184-
_ => ()
1184+
case _ => ()
11851185
}
11861186
}
11871187
} catch {

0 commit comments

Comments
 (0)