Bail out early from truncate
if the new length is equal to the old#74172
Closed
ecstatic-morse wants to merge 2 commits intorust-lang:masterfrom
truncate
if the new length is equal to the old#74172