From 6d70c5145088605096dae17c397cb986e827ad46 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 16 Jan 2025 01:24:34 +0100 Subject: [PATCH] tlv: Mark test module as `pub(crate)` #### Problem The downstream agave jobs are failing after the upgrade to Rust 1.84, because the lint for public modules needing documentation is getting tripped. #### Summary of changes Mark the test module as `pub(crate)` since it shouldn't be used outside. --- type-length-value-derive-test/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/type-length-value-derive-test/src/lib.rs b/type-length-value-derive-test/src/lib.rs index 5e32d4f5..42cf8d55 100644 --- a/type-length-value-derive-test/src/lib.rs +++ b/type-length-value-derive-test/src/lib.rs @@ -4,7 +4,7 @@ //! testing the macro itself. #[cfg(test)] -pub mod test { +pub(crate) mod test { use { borsh::{BorshDeserialize, BorshSerialize}, solana_borsh::v1::{get_instance_packed_len, try_from_slice_unchecked},