Comment Comment by YmiYugy I don't think that is true. Testing with rust 1.92enum Tree<T> { Lead(T), Branch(Vec<Tree<T>>), }works just fine, no superfluous Box needed. parent YmiYugy 9 months ago
enum Tree<T> { Lead(T), Branch(Vec<Tree<T>>), }
works just fine, no superfluous Box needed.