Skip to content

feat(indexmap): added truncate #526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 5, 2025

Conversation

pamburus
Copy link
Contributor

@pamburus pamburus commented Dec 28, 2024

This adds truncate method to IndexMap.

See corresponding truncate in the indexmap crate.

Related pull requests:

@pamburus pamburus force-pushed the feature/indexmap/truncate branch 3 times, most recently from f28a771 to e21472a Compare December 28, 2024 15:08
@Dirbaio
Copy link
Member

Dirbaio commented Jan 2, 2025

Thanks for the PR. Could you add tests?

@reitermarkus reitermarkus force-pushed the feature/indexmap/truncate branch 2 times, most recently from 68687ef to 8c754d1 Compare April 5, 2025 22:18
@reitermarkus reitermarkus force-pushed the feature/indexmap/truncate branch from 8c754d1 to 1e7f5b8 Compare April 5, 2025 22:20
@reitermarkus
Copy link
Member

There is a doc test, I think that's enough. I changed the order to 3, 2, 1 so it is more obvious what should happen.

@reitermarkus reitermarkus added this pull request to the merge queue Apr 5, 2025
Merged via the queue into rust-embedded:main with commit 0c6728c Apr 5, 2025
22 checks passed
@pamburus pamburus deleted the feature/indexmap/truncate branch April 6, 2025 01:18
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.

3 participants