summaryrefslogtreecommitdiff
path: root/samples/std.rs
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-16 09:14:38 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-16 09:14:38 +0800
commit80e4060188913eb12ad8a774b07d3b938485a49a (patch)
treef8e978f4c1c93920aa16119199cf728b36915121 /samples/std.rs
parent7d04ce9d4c945cedf08ff2a7fa0af49ea4e6e1b0 (diff)
downloadmrust-80e4060188913eb12ad8a774b07d3b938485a49a.tar.gz
Added associated type reference parse, and tuple value parse
Diffstat (limited to 'samples/std.rs')
-rw-r--r--samples/std.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/std.rs b/samples/std.rs
index 23f9b1b6..26039934 100644
--- a/samples/std.rs
+++ b/samples/std.rs
@@ -33,7 +33,7 @@ pub mod iter
{
type Item;
fn next(&self) -> Option<<Self as Iterator>::Item>;
- fn size_hint(&self) -> (usize, Option(usize)) {
+ fn size_hint(&self) -> (usize, Option<usize>) {
return (0, None);
}
}