Skip to content

Stock collection support for IMapView#2353

Merged
kennykerr merged 4 commits intomasterfrom
stock-map-view
Feb 24, 2023
Merged

Stock collection support for IMapView#2353
kennykerr merged 4 commits intomasterfrom
stock-map-view

Conversation

@kennykerr
Copy link
Copy Markdown
Collaborator

@kennykerr kennykerr commented Feb 24, 2023

Building on #2350 and as part of #91, this update adds a stock implementation of IMapView<T>. You can now write the following:

let map = BTreeMap::from([(1, 10), (2, 20), (3, 30)]);
let map: IMapView<i32, u64> = map.try_into()?;

Fixes: #91

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.

Support for creating collections

1 participant