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 ecstatic-morse:truncate-len-eq
+23-9
truncate
if the new length is equal to the old#74172