From 4a21adae36d4f7083e86a564afac075fdabc1040 Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 13 Jan 2020 21:42:05 -0400 Subject: [PATCH] fixed Some() --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8e0396e..00535f2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,7 +65,7 @@ fn main() { id: 1, username: "hi".to_string(), password: bcrypt::hash("qwer", 5).unwrap(), - guildcard: Some(1u32), + guildcard: Some(1), team_id: None, banned: false, muted_until: SystemTime::now(), @@ -86,7 +86,7 @@ fn main() { id: 2, username: "hi2".to_string(), password: bcrypt::hash("qwer", 5).unwrap(), - guildcard: Some(2u32), + guildcard: Some(2), team_id: None, banned: false, muted_until: SystemTime::now(), @@ -107,7 +107,7 @@ fn main() { id: 3, username: "hi3".to_string(), password: bcrypt::hash("qwer", 5).unwrap(), - guildcard: Some(3u32), + guildcard: Some(3), team_id: None, banned: false, muted_until: SystemTime::now(), @@ -128,7 +128,7 @@ fn main() { id: 4, username: "hi4".to_string(), password: bcrypt::hash("qwer", 5).unwrap(), - guildcard: Some(4u32), + guildcard: Some(4), team_id: None, banned: false, muted_until: SystemTime::now(),