From 733ee0d12de59f377ffa151b96de40c682724b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sat, 7 Sep 2024 16:52:00 +0200 Subject: [PATCH] api: Remove warnings about types visibility in UI tests --- crates/ruma-common/tests/api/ui/move-value.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ruma-common/tests/api/ui/move-value.rs b/crates/ruma-common/tests/api/ui/move-value.rs index f6e5af69..70f82b38 100644 --- a/crates/ruma-common/tests/api/ui/move-value.rs +++ b/crates/ruma-common/tests/api/ui/move-value.rs @@ -1,7 +1,7 @@ // This tests that the "body" fields are moved after all other fields because they // consume the request/response. -mod newtype_body { +pub mod newtype_body { use http::header::CONTENT_TYPE; use ruma_common::{ api::{request, response, Metadata}, @@ -47,7 +47,7 @@ mod newtype_body { } } -mod raw_body { +pub mod raw_body { use http::header::CONTENT_TYPE; use ruma_common::{ api::{request, response, Metadata}, @@ -90,7 +90,7 @@ mod raw_body { } } -mod plain { +pub mod plain { use http::header::CONTENT_TYPE; use ruma_common::{ api::{request, response, Metadata},