Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Jun 4, 2021

Automatic cherry-pick of b802895

This is backwards-compatible since we change the argument from `Vec<u8>`
to `impl Into<Arc<Vec<u8>>>` and the following implementations exists in
std:

- `impl<T, U> Into<U> for T where U: From<T>` (reverse direction)
- `impl<T> From<T> for Arc<T>` (create `Arc` from any type)

Furthermore `Arc<Vec<u8>>` can be passed directly now because the following
implementations exists:

- `impl<T> From<T> for T` (identity)

Closes #368.
@alamb alamb merged commit 84fed05 into active_release Jun 5, 2021
@alamb alamb deleted the cherry_pick_b802895f branch June 5, 2021 13:14
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.

2 participants