@@ -72,6 +72,8 @@ println!("{:?}", tuple_ptr)
7272
7373#![ feature( macro_rules, managed_boxes, phase) ]
7474
75+ #![ allow( visible_private_types) ] // NOTE: remove after a stage0 snap
76+
7577#[ cfg( test) ]
7678#[ phase( syntax, link) ] extern crate log;
7779
@@ -407,12 +409,12 @@ pub fn rng() -> StdRng {
407409/// The standard RNG. This is designed to be efficient on the current
408410/// platform.
409411#[ cfg( not( target_word_size="64" ) ) ]
410- pub struct StdRng { priv rng: IsaacRng }
412+ pub struct StdRng { rng : IsaacRng }
411413
412414/// The standard RNG. This is designed to be efficient on the current
413415/// platform.
414416#[ cfg( target_word_size="64" ) ]
415- pub struct StdRng { priv rng: Isaac64Rng }
417+ pub struct StdRng { rng : Isaac64Rng }
416418
417419impl StdRng {
418420 /// Create a randomly seeded instance of `StdRng`.
@@ -489,10 +491,10 @@ pub fn weak_rng() -> XorShiftRng {
489491/// RNGs"](http://www.jstatsoft.org/v08/i14/paper). *Journal of
490492/// Statistical Software*. Vol. 8 (Issue 14).
491493pub struct XorShiftRng {
492- priv x: u32 ,
493- priv y: u32 ,
494- priv z: u32 ,
495- priv w: u32 ,
494+ x : u32 ,
495+ y : u32 ,
496+ z : u32 ,
497+ w : u32 ,
496498}
497499
498500impl Rng for XorShiftRng {
@@ -573,8 +575,8 @@ pub struct TaskRng {
573575 // The use of unsafe code here is OK if the invariants above are
574576 // satisfied; and it allows us to avoid (unnecessarily) using a
575577 // GC'd or RC'd pointer.
576- priv rng: * mut TaskRngInner ,
577- priv marker : marker:: NoSend ,
578+ rng : * mut TaskRngInner ,
579+ marker : marker:: NoSend ,
578580}
579581
580582// used to make space in TLS for a random number generator
0 commit comments