Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum A<T = i32>
- {
- V1(T),
- V2
- }
- fn main()
- {
- let a = A::V2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement