mirror of
https://github.com/openharmony/third_party_rust_bytes.git
synced 2026-07-18 16:24:29 -04:00
bad4e1b3ab
When the length to truncate is greater than the buffer's current length, do nothing instead of clearing the contents.