cargo fix for Rust 2018

This commit is contained in:
Tangent 2018-12-22 15:03:19 -05:00
parent 1c4ea2f3ed
commit 87eaed9c82
11 changed files with 26 additions and 26 deletions

View file

@ -8,11 +8,11 @@ use futures::{
stream::Stream
};
use ebml::{
use crate::ebml::{
EbmlEventSource,
FromEbml
};
use error::WebmetroError;
use crate::error::WebmetroError;
pub struct EbmlStreamingParser<S> {
stream: S,
@ -79,7 +79,7 @@ impl<I: Buf, S: Stream<Item = I, Error = WebmetroError>> EbmlStreamingParser<S>
self.buffer.put(buf);
// ok can retry decoding now
},
other => return other.map(|async| async.map(|_| None))
other => return other.map(|async_status| async_status.map(|_| None))
}
}
}