Browse Source

fixed Some()

pbs
andy 5 years ago
parent
commit
4a21adae36
  1. 8
      src/main.rs

8
src/main.rs

@ -65,7 +65,7 @@ fn main() {
id: 1, id: 1,
username: "hi".to_string(), username: "hi".to_string(),
password: bcrypt::hash("qwer", 5).unwrap(), password: bcrypt::hash("qwer", 5).unwrap(),
guildcard: Some(1u32),
guildcard: Some(1),
team_id: None, team_id: None,
banned: false, banned: false,
muted_until: SystemTime::now(), muted_until: SystemTime::now(),
@ -86,7 +86,7 @@ fn main() {
id: 2, id: 2,
username: "hi2".to_string(), username: "hi2".to_string(),
password: bcrypt::hash("qwer", 5).unwrap(), password: bcrypt::hash("qwer", 5).unwrap(),
guildcard: Some(2u32),
guildcard: Some(2),
team_id: None, team_id: None,
banned: false, banned: false,
muted_until: SystemTime::now(), muted_until: SystemTime::now(),
@ -107,7 +107,7 @@ fn main() {
id: 3, id: 3,
username: "hi3".to_string(), username: "hi3".to_string(),
password: bcrypt::hash("qwer", 5).unwrap(), password: bcrypt::hash("qwer", 5).unwrap(),
guildcard: Some(3u32),
guildcard: Some(3),
team_id: None, team_id: None,
banned: false, banned: false,
muted_until: SystemTime::now(), muted_until: SystemTime::now(),
@ -128,7 +128,7 @@ fn main() {
id: 4, id: 4,
username: "hi4".to_string(), username: "hi4".to_string(),
password: bcrypt::hash("qwer", 5).unwrap(), password: bcrypt::hash("qwer", 5).unwrap(),
guildcard: Some(4u32),
guildcard: Some(4),
team_id: None, team_id: None,
banned: false, banned: false,
muted_until: SystemTime::now(), muted_until: SystemTime::now(),

Loading…
Cancel
Save