aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2023-10-30 12:22:31 +0100
committerFxQnLr <[email protected]>2023-10-30 12:22:31 +0100
commit348cf5fbe4527865e8aa5cb719fd8790f4d8953e (patch)
treebddbd1dbc366f95861a6bdf99607fff46ff6133c /src/main.rs
parente3b622f5a918f6a4b5c3b67198ee7b72ef06062d (diff)
downloadwebol-348cf5fbe4527865e8aa5cb719fd8790f4d8953e.tar
webol-348cf5fbe4527865e8aa5cb719fd8790f4d8953e.tar.gz
webol-348cf5fbe4527865e8aa5cb719fd8790f4d8953e.zip
changed pingmap tuple to own struct
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index ee540af..e96b736 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -50,7 +50,7 @@ async fn main() {
50 50
51 let (tx, _) = channel(32); 51 let (tx, _) = channel(32);
52 52
53 let ping_map: DashMap<String, (String, bool)> = DashMap::new(); 53 let ping_map: PingMap = DashMap::new();
54 54
55 let shared_state = Arc::new(AppState { db, ping_send: tx, ping_map }); 55 let shared_state = Arc::new(AppState { db, ping_send: tx, ping_map });
56 56