aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-22 21:50:26 +0000
committerFuwn <[email protected]>2021-03-22 21:50:26 +0000
commitd4e5c30fd9d2eecdd2af55fd4ee5c0da4cda3f55 (patch)
tree32b33ace94dbb89cc67aa3cad6e06e9376902b88 /src/main.rs
parentfeature: Use feature "hash_set_entry" (diff)
downloadwhirl-d4e5c30fd9d2eecdd2af55fd4ee5c0da4cda3f55.tar.xz
whirl-d4e5c30fd9d2eecdd2af55fd4ee5c0da4cda3f55.zip
etc: Correct struct names
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 2534b40..d6612b2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -11,16 +11,16 @@ fn main() {
let mut threads = vec![];
threads.push(thread::spawn(move || {
- debug!("spawned WorldServer thread");
- server::world::server::WorldServer::new(
+ debug!("spawned AutoServer thread");
+ server::auto::server::AutoServer::new(
TcpListener::bind(
&"0.0.0.0:6650".parse().unwrap()
).unwrap()
);
}));
threads.push(thread::spawn(move || {
- debug!("spawned AutoServer thread");
- server::auto::server::AutoServer::new(
+ debug!("spawned RoomServer thread");
+ server::room::server::RoomServer::new(
TcpListener::bind(
&"0.0.0.0:5673".parse().unwrap()
).unwrap()