diff options
author | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-22 14:51:07 +0800 |
---|---|---|
committer | John Hodge (sonata) <tpg@mutabah.net> | 2015-01-22 14:51:07 +0800 |
commit | 76d70d4cbfbdf09082d35a224a4c7f2d2b501974 (patch) | |
tree | a0b3ce0ea0f624e56e57edc6850542e9f4081eae /samples/std.rs | |
parent | 8d1acfa3993e64b0266365379602799350855f3f (diff) | |
download | mrust-76d70d4cbfbdf09082d35a224a4c7f2d2b501974.tar.gz |
Added bounds to _ types, propagating type params further (and replacing when needed)
Diffstat (limited to 'samples/std.rs')
-rw-r--r-- | samples/std.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/std.rs b/samples/std.rs index a0110c40..a44ae54e 100644 --- a/samples/std.rs +++ b/samples/std.rs @@ -27,6 +27,7 @@ pub mod io pub trait Reader { + fn read_byte(&mut self) -> IoResult<u8>; } } |