Slight README changes

This commit is contained in:
Zach Dziura 2015-10-13 00:24:09 -04:00
parent e46c5e580b
commit 4d11410a41

View file

@ -22,7 +22,7 @@ between 1s and 5s on average, though of course your mileage may vary.
## Example ## Example
``` ```rust
extern crate pumpkin; extern crate pumpkin;
use pumpkin::Prime; use pumpkin::Prime;
@ -57,7 +57,7 @@ Theorem](https://www.wikiwand.com/en/Fermat's_little_theorem).
Test](https://www.wikiwand.com/en/Miller%E2%80%93Rabin_primality_test). Test](https://www.wikiwand.com/en/Miller%E2%80%93Rabin_primality_test).
`Prime`s are seeded by `rand::OsRng`, which receives its entropy via the `Prime`s are seeded by `rand::OsRng`, which receives its entropy via the
operating system's own entropy source (such as `/dev/urandom'). Thus, because we operating system's own entropy source (such as `/dev/urandom`). Thus, because we
can be confident that the generated candidate number is truly random (or as can be confident that the generated candidate number is truly random (or as
close to truly random as the user can hope), we don't need to do more than five close to truly random as the user can hope), we don't need to do more than five
iterations of the Miller-Rabin test to ensure primality. iterations of the Miller-Rabin test to ensure primality.