async-bincode icon indicating copy to clipboard operation
async-bincode copied to clipboard

Avoid discarding capacity during read operation

Open vpzomtrrfrt opened this issue 1 year ago • 1 comments

The previous behaviour caused the target buffer length to change between calls within a single read operation, which seems wrong since the underlying read would then try to read too much into a smaller buffer

vpzomtrrfrt avatar Feb 04 '24 17:02 vpzomtrrfrt

Codecov Report

Attention: Patch coverage is 65.21739% with 8 lines in your changes missing coverage. Please review.

Project coverage is 88.5%. Comparing base (85be6f1) to head (39e826d).

Files with missing lines Patch % Lines
src/reader.rs 65.2% 8 Missing :warning:
Additional details and impacted files
Files with missing lines Coverage Δ
src/reader.rs 84.4% <65.2%> (-5.2%) :arrow_down:

codecov-commenter avatar Feb 04 '24 17:02 codecov-commenter

Published as 0.7.3 :tada:

jonhoo avatar Jan 01 '25 09:01 jonhoo