summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-04-15 17:07:51 +0800
committerJohn Hodge <tpg@mutabah.net>2015-04-15 17:07:51 +0800
commitd0e38eff804b9f085bf8a3f0a3db4805fde72e05 (patch)
tree4d91e55edb4ecc8476259e2d10a2132bad95291e /samples
parent1b62d9688a1be2da2825c59e73f3220b0dc352fa (diff)
downloadmrust-d0e38eff804b9f085bf8a3f0a3db4805fde72e05.tar.gz
BNF - Successfully parses test crate
Diffstat (limited to 'samples')
-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