Showing the changes to git-object/src/commit (1 of 1 file). Show all
Unified · Split
| @@ -36,7 +36,7 @@ mod decode { · 35 unmodified lines | |||
| 36 | return Ok(( | 36 | return Ok(( |
| 37 | &[], | 37 | &[], |
| 38 | ( | 38 | ( |
| 39 | &i[0usize..consumed_bytes].as_bstr(), | 39 | i[0usize..consumed_bytes].as_bstr(), |
| 40 | (!body.is_empty()).then(|| body.as_bstr()), | 40 | (!body.is_empty()).then(|| body.as_bstr()), |
| 41 | ), | 41 | ), |
| 42 | )); | 42 | )); |