Comment Comment by modulus1 And they even made the C++ version more verbose than it should have been. Most people would write:class Person { int age = 0; };I wish rust would make default struct field values this easy to write. parent modulus1 1 year ago
class Person { int age = 0; };
I wish rust would make default struct field values this easy to write.