We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ab742 commit 8c2a926Copy full SHA for 8c2a926
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 4a24f10ac6f155699f086051ba6a728d9afb5ca6
+refs/heads/master: 9860fe10a19cc4997e58861df905f8dbe4de3c5b
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 79a2b2eafc3c766cecec8a5f76317693bae9ed17
5
refs/heads/try: 8eb2bab100b42f0ba751552d8eff00eb2134c55a
trunk/src/libcore/rand.rs
@@ -698,7 +698,7 @@ impl<R: Rng> Rng for @R {
698
* generator.
699
*/
700
pub fn random<T: Rand>() -> T {
701
- (*task_rng()).gen()
+ task_rng().gen()
702
}
703
704
#[cfg(test)]
0 commit comments