Skip to content

Commit

Permalink
Automated fixes to follow Rust development
Browse files Browse the repository at this point in the history
Applied fixes:
	*extern mod is obsolete
	*attribute fix (cf rust-lang/rust#2569)
	*priv attribute removal (cf rust-lang/rust@f2a5c7a)
  • Loading branch information
Geal committed Apr 2, 2014
1 parent 7d8d404 commit 937e9e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

/// Lazily generated sequence, only traversable once
pub struct Lazy<T> {
priv head: ~[T],
priv thunks: ~[~Eval<Lazy<T>>],
head: ~[T],
thunks: ~[~Eval<Lazy<T>>],
}

trait Eval<L> {
Expand Down
10 changes: 5 additions & 5 deletions lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ for values of `trait Arbitrary + Shrink`.
Example::
extern mod qc;
extern crate qc;
fn main() {
qc::quick_check("sort", qc::config.verbose(true).trials(500),
Expand All @@ -37,12 +37,12 @@ according to those terms.
*/

#[crate_type="lib"];
#[feature(macro_rules)];
#[feature(managed_boxes)];
#![crate_type="lib"]
#![feature(macro_rules)]
#![feature(managed_boxes)]

#[cfg(test)]
extern mod extra;
extern crate extra;

pub use lazy::Lazy;
pub use shrink::Shrink;
Expand Down

0 comments on commit 937e9e5

Please sign in to comment.