Commit 38936c4
committed
Remove an unwrap() from the MessagePack code
I thought it might be interesting to audit these and see if any were
obvious candidates for removal. This first_chunk() method is from
Rust 1.77, so only became available to me with the v0.20.0 MSRV bump.
(Though maybe there was a way to do this before. Oh well.)1 parent e398dd1 commit 38936c4
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
248 | 247 | | |
249 | 248 | | |
250 | 249 | | |
| |||
0 commit comments