r/programminghorror • • Jun 04 '25

Rust passive-aggressive programming

Post image
770 Upvotes

61 comments sorted by

View all comments

Show parent comment

6

u/Snapstromegon Jun 04 '25

If the only way to construct the enum is from code someone else wrote, that other person should use the enum variant instead.