updated todo

This commit is contained in:
debris 2015-11-30 11:33:31 +01:00
parent bd6289756b
commit fac89f784b
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ impl<'a> UntrustedRlp<'a> {
/// return first item info
///
/// TODO: move this to decode_untrustedr?
/// TODO: move this to decoder (?)
fn item_info(bytes: &[u8]) -> Result<ItemInfo, DecoderError> {
let item = match bytes.first().map(|&x| x) {
None => return Err(DecoderError::RlpIsTooShort),