summaryrefslogtreecommitdiff
path: root/samples/1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/1.rs')
-rw-r--r--samples/1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/1.rs b/samples/1.rs
index 05e91240..6bc434cb 100644
--- a/samples/1.rs
+++ b/samples/1.rs
@@ -101,7 +101,7 @@ impl<T:Reader> UTF8Reader<T>
/// Implmentation of the same interface as 'Chars' provides, returns None at the end of the stream
impl<T:Reader> Iterator for UTF8Reader<T>
{
- type Item = IoResult<char>;
+ type Item = IoResult<char>;
fn next(&mut self) -> Option<IoResult<char>>
{
// Get result from decoder