Skip to content

Commit 7e4216a

Browse files
authored
[SE-0408] Add a missing try to make the code snippet valid. (#2316)
1 parent 1945d92 commit 7e4216a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0408-pack-iteration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func == <each Element: Equatable>(lhs: (repeat each Element), rhs: (repeat each
3333

3434
// Do-catch statement for short-circuiting as soon as two tuple elements are not equal.
3535
do {
36-
repeat isEqual(each lhs, each rhs)
36+
repeat try isEqual(each lhs, each rhs)
3737
} catch {
3838
return false
3939
}

0 commit comments

Comments
 (0)