File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 20
20
21
21
/// Lazily generated sequence, only traversable once
22
22
pub struct Lazy < T > {
23
- priv head : ~[ T ] ,
24
- priv thunks : ~[ ~Eval < Lazy < T > > ] ,
23
+ head : ~[ T ] ,
24
+ thunks : ~[ ~Eval < Lazy < T > > ] ,
25
25
}
26
26
27
27
trait Eval < L > {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ for values of `trait Arbitrary + Shrink`.
10
10
11
11
Example::
12
12
13
- extern mod qc;
13
+ extern crate qc;
14
14
15
15
fn main() {
16
16
qc::quick_check("sort", qc::config.verbose(true).trials(500),
@@ -37,12 +37,12 @@ according to those terms.
37
37
38
38
*/
39
39
40
- #[ crate_type="lib" ] ;
41
- #[ feature( macro_rules) ] ;
42
- #[ feature( managed_boxes) ] ;
40
+ #! [ crate_type="lib" ]
41
+ #! [ feature( macro_rules) ]
42
+ #! [ feature( managed_boxes) ]
43
43
44
44
#[ cfg( test) ]
45
- extern mod extra;
45
+ extern crate extra;
46
46
47
47
pub use lazy:: Lazy ;
48
48
pub use shrink:: Shrink ;
You can’t perform that action at this time.
0 commit comments