]> git.bitcoin.ninja Git - rust-lightning/commitdiff
f - Reduce Validate's visibility to pub(crate)
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 18 Feb 2021 20:30:07 +0000 (12:30 -0800)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 22 Feb 2021 16:49:13 +0000 (08:49 -0800)
lightning-block-sync/src/poll.rs

index f0f5a0c8a3cc331531246ce4e545fdddbbbe74b8..82398a4b39cd3ea97f3a77135ebe43b6b94f60c4 100644 (file)
@@ -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<Target = Self>;