Skip to content

Commit

Permalink
Fixing compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
trygvis committed Jan 3, 2025
1 parent 7c0dd3e commit f4d4547
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ fn configure_logging() -> Result<(TracerProvider, LoggerProvider), anyhow::Error

#[derive(Clone, Debug)]
struct ServerImpl {
/// TODO: Figure out how to best handle the passing of the pool. Right now it is used inside
/// EmployeeDao, but not anywhere else. I'm not sure if cloning the Pool is ok or not.
/// Perhaps the EmployeeDao shouldn't use the pool at all and everything should just use this
/// single reference.
#[allow(dead_code)]
pool: sqlx::PgPool,
assets_path: String,
ctx: ReqwestClient,
Expand Down

0 comments on commit f4d4547

Please sign in to comment.