@ -255,10 +255,11 @@ mod tests {
use crate::User;
fn test_user(name: &str, discriminator: u16) -> User {
let mut user = User::default();
User {
user.name = name.to_owned();
name: name.to_owned(),
user.discriminator = discriminator;
discriminator,
user
..Default::default()
}
#[test]