Skip to content

Commit 6ae9247

Browse files
authored
program: Mark test module as pub(crate) (#80)
#### 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.
1 parent a26984d commit 6ae9247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

program/src/pod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ impl TryFrom<PodCOption<Pubkey>> for OptionalNonZeroPubkey {
262262
}
263263

264264
#[cfg(test)]
265-
pub mod test {
265+
pub(crate) mod test {
266266
use {
267267
super::*,
268268
crate::state::{

0 commit comments

Comments
 (0)