From b6a2d55100a9ac0adde92f155a7c31fce40810e2 Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 18 Jun 2021 19:03:08 -0600 Subject: [PATCH] lint src/bin/* --- src/bin/login.rs | 2 +- src/bin/ship.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/login.rs b/src/bin/login.rs index 608f994..958693c 100644 --- a/src/bin/login.rs +++ b/src/bin/login.rs @@ -41,7 +41,7 @@ fn main() { let login_state = LoginServerState::new(thread_entity_gateway, charserv_ip); let login_loop = login_mainloop(login_state, elseware::login::login::LOGIN_PORT); - let char_state = CharacterServerState::new(entity_gateway, AuthToken(shipgate_token.into())); + let char_state = CharacterServerState::new(entity_gateway, AuthToken(shipgate_token)); let character_loop = character_mainloop(char_state, elseware::login::character::CHARACTER_PORT, elseware::login::login::COMMUNICATION_PORT); info!("[auth/character] starting server"); diff --git a/src/bin/ship.rs b/src/bin/ship.rs index a9e42c4..3c6d14e 100644 --- a/src/bin/ship.rs +++ b/src/bin/ship.rs @@ -42,7 +42,7 @@ fn main() { .ip(ip) .port(elseware::ship::ship::SHIP_PORT) .gateway(entity_gateway) - .auth_token(AuthToken(shipgate_token.into())) + .auth_token(AuthToken(shipgate_token)) .build(); let shipgate_ip = std::env::var("SHIPGATE_IP").unwrap().parse().unwrap();