summaryrefslogtreecommitdiff
path: root/samples/std.rs
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-17 16:19:27 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-17 16:19:27 +0800
commit553112fcbf7175e9ea751a2aedc4c0d336d95593 (patch)
treeb8fb70cf33bcc88ac21abcb7e7a50d9a956d755d /samples/std.rs
parente4e710eb0b752981b61af1f09884d4ec12f6ddc1 (diff)
downloadmrust-553112fcbf7175e9ea751a2aedc4c0d336d95593.tar.gz
Clean up hanlding of generic params
Diffstat (limited to 'samples/std.rs')
-rw-r--r--samples/std.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/std.rs b/samples/std.rs
index 26039934..2900ddae 100644
--- a/samples/std.rs
+++ b/samples/std.rs
@@ -24,6 +24,10 @@ pub mod io
{
EndOfFile,
}
+
+ pub trait Reader
+ {
+ }
}
pub mod iter
@@ -46,6 +50,7 @@ pub mod prelude
pub use option::Option::{self, None, Some};
pub use result::Result::{self, Ok, Err};
pub use io::IoResult;
+ pub use io::Reader;
pub use iter::Iterator;
}
}