Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust: types: add examples for the
Either
type
We aim to have examples in all Rust types, thus add basic ones for the `Either` type. Suggested-by: Miguel Ojeda <[email protected]> Signed-off-by: Nell Shamrell-Harrington <[email protected]> Tested-by: Dirk Behme <[email protected]> Reviewed-by: Trevor Gross <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://rust-for-linux.zulipchat.com/#narrow/stream/291565/topic/x/near/467478085 Link: https://lore.kernel.org/r/[email protected] [ Reworded slightly. - Miguel ] Signed-off-by: Miguel Ojeda <[email protected]>
- Loading branch information