Re: [PATCH v2 27/28] rust: types: add `Either` type

From: Miguel Ojeda
Date: Sat Dec 03 2022 - 20:06:18 EST


On Sat, Dec 3, 2022 at 12:42 AM Josh Triplett <josh@xxxxxxxxxxxxxxxx> wrote:
>
> This specific example seems like it would be better served by the
> existing `Cow` type.

Yeah, possibly -- it is taken from one of the use cases in the full
repository. Perhaps it was deemed simpler, or providing a way to go to
an owned instance was to be avoided.

Thanks for taking a look!

Cheers,
Miguel