diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-07-12 14:43:57 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-08-21 17:17:41 -0700 |
| commit | 5da4b4d928c6507f6e67b2d2a4289eef4b8de0ea (patch) | |
| tree | 36503ae5a3f77bc69cd23dc331f3639994d496bd /src/libstd/rand | |
| parent | 77279a73cbafb1735e5cf53820fde65d5cd05957 (diff) | |
| download | rust-5da4b4d928c6507f6e67b2d2a4289eef4b8de0ea.tar.gz rust-5da4b4d928c6507f6e67b2d2a4289eef4b8de0ea.zip | |
std/extra: changing XXX to FIXME; cleanup
* Get rid of by-value-self workarounds; it works now * Remove type annotations, they're not needed anymore
Diffstat (limited to 'src/libstd/rand')
| -rw-r--r-- | src/libstd/rand/distributions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rand/distributions.rs b/src/libstd/rand/distributions.rs index 67be7986c33..6d08b3c84bd 100644 --- a/src/libstd/rand/distributions.rs +++ b/src/libstd/rand/distributions.rs @@ -92,7 +92,7 @@ impl Rand for StandardNormal { let mut x = 1.0f64; let mut y = 0.0f64; - // XXX infinities? + // FIXME #7755: infinities? while -2.0 * y < x * x { x = rng.gen::<f64>().ln() / ziggurat_tables::ZIG_NORM_R; y = rng.gen::<f64>().ln(); |
