Fix `legacy_random` examples (#5047)

This commit is contained in:
woxtu 2023-06-11 06:53:45 +09:00 committed by GitHub
parent f1d5a55658
commit 43190834c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ struct LegacyRandomRule: SwiftSyntaxRule, ConfigurationProviderRule {
Example("Float.random(in: 0 ..< 1)\n")
],
triggeringExamples: [
Example("↓arc4random(10)\n"),
Example("↓arc4random()\n"),
Example("↓arc4random_uniform(83)\n"),
Example("↓drand48(52)\n")
Example("↓drand48()\n")
]
)