summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-12-28 06:58:10 -0500
committerKjetil Orbekk <kj@orbekk.com>2022-12-28 06:58:10 -0500
commit75bb8ff15d724aafde443c36730ca7cb48c70104 (patch)
tree663d23134be89c42d918b504fdd0bf4d90344e7b
parentf3f2a25f70446969281fcaac543648dd472c38fb (diff)
Fix rust warnings
-rw-r--r--server/src/auth.rs4
-rw-r--r--server/src/main.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/server/src/auth.rs b/server/src/auth.rs
index 2831929..76b16cf 100644
--- a/server/src/auth.rs
+++ b/server/src/auth.rs
@@ -8,11 +8,11 @@ use std::{
use crate::{
error::BridgeError,
- server::{ServerContext, ServerState},
+ server::ServerContext,
};
use async_trait::async_trait;
use axum::{
- extract::{FromRef, FromRequestParts, State},
+ extract::{FromRef, FromRequestParts},
http::request::Parts,
response::{IntoResponse, Response},
};
diff --git a/server/src/main.rs b/server/src/main.rs
index ef60551..10b1361 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -10,7 +10,7 @@ use axum::{
Json, Router,
};
use protocol::{
- bridge_engine::{Bid, GameStatePlayerView, Player, TableStatePlayerView},
+ bridge_engine::{Bid, Player, TableStatePlayerView},
card::Card,
};
use protocol::{Table, UserInfo};