Merge pull request #2680 from TheBlueMatt/2023-10-0.0.118-bindings
[rust-lightning] / lightning / src / ln / features.rs
index d10c3a71927b254854fd11869f1d9cbaedf7cb35..ed8a6a9ee5a47c155ee7adcbfab297f14b0ae964 100644 (file)
@@ -435,6 +435,7 @@ pub struct Features<T: sealed::Context> {
        mark: PhantomData<T>,
 }
 
+/// This is not exported to bindings users but probably should be.
 impl<T: sealed::Context, Rhs: Borrow<Self>> core::ops::BitOrAssign<Rhs> for Features<T> {
        fn bitor_assign(&mut self, rhs: Rhs) {
                let total_feature_len = cmp::max(self.flags.len(), rhs.borrow().flags.len());
@@ -445,6 +446,7 @@ impl<T: sealed::Context, Rhs: Borrow<Self>> core::ops::BitOrAssign<Rhs> for Feat
        }
 }
 
+/// This is not exported to bindings users but probably should be.
 impl<T: sealed::Context> core::ops::BitOr for Features<T> {
        type Output = Self;