From 745cfe6fcd13f28c5b8418396cbbad2b639bde4b Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Mon, 28 Oct 2024 23:51:45 +0100 Subject: [PATCH] pg: Remove `pub` from `tests` module declaration This should hopefully fix the `missing_docs` warning on the most recent Rust 1.83 beta release. --- src/pg/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg/mod.rs b/src/pg/mod.rs index 13b9651..7e404b6 100644 --- a/src/pg/mod.rs +++ b/src/pg/mod.rs @@ -894,7 +894,7 @@ impl crate::pooled_connection::PoolableConnection for AsyncPgConnection { } #[cfg(test)] -pub mod tests { +mod tests { use super::*; use crate::run_query_dsl::RunQueryDsl; use diesel::sql_types::Integer;