Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
iFrostizz committed Sep 1, 2024
1 parent 794f255 commit df28531
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion rlp/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ impl<'de, 'a> Deserializer<'de> for &'a mut Rlp {
RecursiveBytes::Nested(recs) => {
crate::pack_rlp(Rlp::new_unary(RecursiveBytes::Nested(recs)))?
}
RecursiveBytes::EmptyList => unimplemented!(),
RecursiveBytes::EmptyList => unimplemented!(), // TODO
};

visitor.visit_bytes(&bytes)
Expand Down
5 changes: 0 additions & 5 deletions rlp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,11 +580,6 @@ mod tests {

let rlp = &mut unpack_rlp(bytes).unwrap();

// assert!(matches!(
// MyType::deserialize(rlp).unwrap_err(),
// RlpError::TrailingBytes
// ));

assert!(MyType::deserialize(rlp).is_err(),)
}
}
Expand Down

0 comments on commit df28531

Please sign in to comment.