summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/db.rs b/server/src/db.rs
index b08c38c..3c1467e 100644
--- a/server/src/db.rs
+++ b/server/src/db.rs
@@ -17,7 +17,7 @@ pub async fn setup() -> Result<(), AppError> {
pub unsafe fn get_client() -> &'static PgPool {
match &CONNECTION {
- Some(client) => &client,
+ Some(client) => client,
None => panic!("Connection not established!"),
}
}