Skip to content

Add IndexMap::try_insert and try_insert_full#442

Draft
cuviper wants to merge 1 commit intoindexmap-rs:mainfrom
cuviper:try_insert
Draft

Add IndexMap::try_insert and try_insert_full#442
cuviper wants to merge 1 commit intoindexmap-rs:mainfrom
cuviper:try_insert

Conversation

@cuviper
Copy link
Copy Markdown
Member

@cuviper cuviper commented Apr 18, 2026

This is following the design of try_insert in the standard library (rust-lang/rust#82766), but should not be merged until that's stabilized.

Fixes #182.

@cuviper cuviper added the waiting-for-std Changes waiting for stabilization in the standard library, so we can match the API. label Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-for-std Changes waiting for stabilization in the standard library, so we can match the API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: try_insert method

1 participant