Skip to content

Modify Deque::truncate to closer match the new Deque::retain_back implementation #664

Merged
zeenix merged 4 commits into
rust-embedded:mainfrom
nullstalgia:deque_truncate_comments
Jun 9, 2026
Merged

Modify Deque::truncate to closer match the new Deque::retain_back implementation #664
zeenix merged 4 commits into
rust-embedded:mainfrom
nullstalgia:deque_truncate_comments

Conversation

@nullstalgia

Copy link
Copy Markdown
Contributor

As requested by @zeenix in #663

@zeenix zeenix left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much. LGTM otherwise.

Comment thread CHANGELOG.md Outdated
## [Unreleased]

- Added `resize_with` to `Vec`
- Modify `Deque::truncate` to closer match the new `Deque::retain_back` implementation

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is internal details that doesn't need to be in the release notes.

@nullstalgia nullstalgia Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't disagree, but I assumed the changelog CI step would've complained like it has for me in the past. But I guess that's on me for assuming. I'll remove it and see if it throws an error.

Edit: Ah, I see you added the skip-changelog label, noted.

@nullstalgia nullstalgia requested a review from zeenix June 9, 2026 16:16
@zeenix zeenix added this pull request to the merge queue Jun 9, 2026
Merged via the queue into rust-embedded:main with commit 4686bdc Jun 9, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants