From 71b5ccc9ce2cb4ae77c54e075c21e9eb231ceed9 Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Thu, 18 Feb 2021 12:30:07 -0800 Subject: [PATCH] f - Reduce Validate's visibility to pub(crate) --- lightning-block-sync/src/poll.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning-block-sync/src/poll.rs b/lightning-block-sync/src/poll.rs index f0f5a0c8a..82398a4b3 100644 --- a/lightning-block-sync/src/poll.rs +++ b/lightning-block-sync/src/poll.rs @@ -35,7 +35,7 @@ pub enum ChainTip { } /// The `Validate` trait defines behavior for validating chain data. -pub trait Validate { +pub(crate) trait Validate { /// The validated data wrapper which can be dereferenced to obtain the validated data. type T: std::ops::Deref; -- 2.39.5