Skip to content

Conversation

antiguru
Copy link
Member

Extract MapInPlace from Map; make Map GAT-aware

This allows us to implement map for TimelyStack.

Note that this is a breaking change because the map_in_place methods
moves from the Map trait to the new MapInPlace trait. This is required
because it needs mutable access to data, which TimelyStack (and others)
cannot provide.

Extract MapInPlace from Map; make Map GAT-aware

This allows us to implement `map` for `TimelyStack`.

Note that this is a breaking change because the `map_in_place` methods
moves from the `Map` trait to the new `MapInPlace` trait. This is required
because it needs mutable access to data, which `TimelyStack` (and others)
cannot provide.
@antiguru
Copy link
Member Author

Handled elsewhere.

@antiguru antiguru closed this May 22, 2024
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.

1 participant