Skip to content

Commit 6a6eed4

Browse files
Switches to using random for Crypto
Swift's randomElement is failing to compile on Linux
1 parent 1692817 commit 6a6eed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/App/Parsing/ConstraintsParser+Examples.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ extension ConstraintsParser {
3333
example2,
3434
example3
3535
]
36-
return examples.randomElement()!
36+
return examples.random!
3737
}
3838
}

0 commit comments

Comments
 (0)