I have an enum with two variants: Either it contains a reference to a Vec of Strings, or it contains a Vec of references of Strings:
enum Foo<'a> {
Owned(&'a Vec<String>),
Refs(Vec<&'a String>)
}
Now I want to iterate over references to the Strings in this enum.
I tried to implement a...