From cf108722f51017bebe533e1def80e72b14f24aa6 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Tue, 16 Mar 2021 14:07:11 +0100 Subject: [PATCH] Document a pub item (#8374) --- substrate/frame/staking/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/substrate/frame/staking/src/lib.rs b/substrate/frame/staking/src/lib.rs index 187f9f30e0..021b7f3be4 100644 --- a/substrate/frame/staking/src/lib.rs +++ b/substrate/frame/staking/src/lib.rs @@ -805,6 +805,8 @@ impl EraPayout for () { } } +/// Adaptor to turn a `PiecewiseLinear` curve definition into an `EraPayout` impl, used for +/// backwards compatibility. pub struct ConvertCurve(sp_std::marker::PhantomData); impl< Balance: AtLeast32BitUnsigned + Clone,