Fix doc comments [NFC]

This commit is contained in:
Xiaodi Wu 2017-08-12 14:02:53 -05:00
parent 2225b12581
commit b924341f19
2 changed files with 4 additions and 4 deletions

View File

@ -25,10 +25,10 @@ extension Random {
///
/// if x > y {
/// print("Here's a random value between 0 and 42 (inclusive):")
/// print(random.uniform(0, 42))
/// print(random.uniform(a: 0, b: 42))
/// } else {
/// print("Here's a random value between -42 and 0 (inclusive):")
/// print(random.uniform(-42, 0))
/// print(random.uniform(a: -42, b: 0))
/// }
/// ```
///

View File

@ -24,10 +24,10 @@
///
/// if x > y {
/// print("Here's a random value between 0 and 42 (inclusive):")
/// print(random.uniform(0, 42))
/// print(random.uniform(a: 0, b: 42))
/// } else {
/// print("Here's a random value between -42 and 0 (inclusive):")
/// print(random.uniform(-42, 0))
/// print(random.uniform(a: -42, b: 0))
/// }
/// ```
///