Hello, I'm a new rustacean. My problem is that why the existence of comma in the last line of struct declaration can be compiled successfully.
In Listing 5-1 of rust book, the declaration of struct
struct User {
username: String,
email: String,
sign_in_count: u64,
active: bool,
}
and
struct User {
username: String,
email: String,
sign_in_count: u64,
active: bool
}
Rustc can compile both successfully. Won't that produce some risks?