diff --git a/src/lib.rs b/src/lib.rs index ab8629a..63618ae 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,6 +40,8 @@ pub fn encode_into, IoError>> } } +// TODO: When higher order lifetimes land, make this so that the +// reader is passed in by &mut instead of by ownership. pub fn decode_from, IoError>>(r: R) -> Result<(T, R), (IoError, R)> { let mut reader = reader::DecoderReader::new(r);