Skip to content

Commit 784c586

Browse files
committedApr 15, 2018
Cleanup
1 parent 7e76a0f commit 784c586

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ The remainder of this README is included in the project as a Swift playground.
9595
Generate up to a _1 million_ random strings with _1 in a billion_ chance of repeat:
9696

9797
```swift
98-
var bits = Entropy.bits(for: 1.0e6, risk: 1.0e9)
99-
var entropy = Entropy()
98+
let bits = Entropy.bits(for: 1.0e6, risk: 1.0e9)
99+
let entropy = Entropy()
100100
var string = entropy.string(bits: bits)
101101
```
102102

@@ -258,7 +258,7 @@ We'll start with using 32 characters. What 32 characters, you ask? The [Characte
258258
import EntropyString
259259

260260
let entropy = Entropy(.charset32)
261-
var bits = Entropy.bits(for: 10000, risk: 1.0e6)
261+
let bits = Entropy.bits(for: 10000, risk: 1.0e6)
262262
var string = entropy.string(bits: bits)
263263

264264
print("String: \(string)\n")

0 commit comments

Comments
 (0)
Failed to load comments.