From fd8d60b7632c159086ffe8289263d675280b84b6 Mon Sep 17 00:00:00 2001 From: Saru2003 Date: Wed, 23 Oct 2024 15:11:29 +0530 Subject: [PATCH] Fixing lint issue in updated validate return, v3 --- martin/src/pg/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/martin/src/pg/config.rs b/martin/src/pg/config.rs index 856383c4f..b25f5e7ec 100644 --- a/martin/src/pg/config.rs +++ b/martin/src/pg/config.rs @@ -99,13 +99,13 @@ impl PgConfig { if let Some(pool_size) = self.pool_size { if pool_size < 1 { return Err(PgError::ConfigError( - "pool_size must be greater than or equal to 1.", + "pool_size must be greater than or equal to 1.", )); } } if self.connection_string.is_none() { return Err(PgError::ConfigError( - "A connection string must be provided.", + "A connection string must be provided.", )); }