We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb27859 commit 4610094Copy full SHA for 4610094
1 file changed
src/main.rs
@@ -60,8 +60,10 @@ async fn main() -> Result<(), Box<dyn Error>> {
60
})
61
.collect::<Result<Vec<Vec<u8>>, Box<dyn Error>>>()?;
62
63
- let un_mspacked: Result<Vec<MsgPack>, msgpack_simple::ParseError> =
64
- un_valued.iter().map(|e| MsgPack::parse(e)).collect();
+ let un_mspacked = un_valued
+ .iter()
65
+ .map(|e| MsgPack::parse(e))
66
+ .collect::<Result<Vec<MsgPack>, msgpack_simple::ParseError>>()?;
67
68
dbg!(un_mspacked);
69
0 commit comments