From b501a563177a3ecde942ad3b168702b1c72e54d6 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 10 Aug 2024 03:38:53 +0200 Subject: [PATCH] fixed linting issues --- martin/Cargo.toml | 2 +- martin/src/pg/pool.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/martin/Cargo.toml b/martin/Cargo.toml index 55698a58d..28dc1c4d8 100644 --- a/martin/Cargo.toml +++ b/martin/Cargo.toml @@ -118,6 +118,7 @@ url.workspace = true static-files = { workspace = true, optional = true } [dev-dependencies] +anyhow.workspace = true cargo-husky.workspace = true criterion.workspace = true ctor.workspace = true @@ -125,5 +126,4 @@ indoc.workspace = true insta = { workspace = true, features = ["yaml"] } pprof.workspace = true rstest.workspace = true -anyhow.workspace = true testcontainers-modules.workspace = true diff --git a/martin/src/pg/pool.rs b/martin/src/pg/pool.rs index dd266659f..46cde969f 100755 --- a/martin/src/pg/pool.rs +++ b/martin/src/pg/pool.rs @@ -182,7 +182,7 @@ mod tests { .start() .await?; let pg_config = Config::new() - .host(&node.get_host().await?.to_string()) + .host(node.get_host().await?.to_string()) .port(node.get_host_port_ipv4(5432).await?) .dbname("postgres") .user("postgres")