Skip to content

Comments

fold: replace truncate(0) with clear()#11059

Merged
cakebaker merged 1 commit intouutils:mainfrom
xtqqczze:vec-clear
Feb 23, 2026
Merged

fold: replace truncate(0) with clear()#11059
cakebaker merged 1 commit intouutils:mainfrom
xtqqczze:vec-clear

Conversation

@xtqqczze
Copy link
Contributor

No description provided.

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tty/tty-eof (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)

@cakebaker cakebaker merged commit 1a781b4 into uutils:main Feb 23, 2026
199 of 200 checks passed
@cakebaker
Copy link
Contributor

Thanks!

@xtqqczze xtqqczze deleted the vec-clear branch February 23, 2026 11:22
@xtqqczze
Copy link
Contributor Author

Clippy lint suggestion (manual_clear): rust-lang/rust-clippy#16615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants