Fix doc comments [NFC]
This commit is contained in:
parent
2225b12581
commit
b924341f19
|
@ -25,10 +25,10 @@ extension Random {
|
||||||
///
|
///
|
||||||
/// if x > y {
|
/// if x > y {
|
||||||
/// print("Here's a random value between 0 and 42 (inclusive):")
|
/// print("Here's a random value between 0 and 42 (inclusive):")
|
||||||
/// print(random.uniform(0, 42))
|
/// print(random.uniform(a: 0, b: 42))
|
||||||
/// } else {
|
/// } else {
|
||||||
/// print("Here's a random value between -42 and 0 (inclusive):")
|
/// print("Here's a random value between -42 and 0 (inclusive):")
|
||||||
/// print(random.uniform(-42, 0))
|
/// print(random.uniform(a: -42, b: 0))
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
|
|
@ -24,10 +24,10 @@
|
||||||
///
|
///
|
||||||
/// if x > y {
|
/// if x > y {
|
||||||
/// print("Here's a random value between 0 and 42 (inclusive):")
|
/// print("Here's a random value between 0 and 42 (inclusive):")
|
||||||
/// print(random.uniform(0, 42))
|
/// print(random.uniform(a: 0, b: 42))
|
||||||
/// } else {
|
/// } else {
|
||||||
/// print("Here's a random value between -42 and 0 (inclusive):")
|
/// print("Here's a random value between -42 and 0 (inclusive):")
|
||||||
/// print(random.uniform(-42, 0))
|
/// print(random.uniform(a: -42, b: 0))
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue