Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Document a pub item (#8374)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavofyork authored Mar 16, 2021
1 parent c532e0b commit ea50800
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frame/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,8 @@ impl<Balance: Default> EraPayout<Balance> for () {
}
}

/// Adaptor to turn a `PiecewiseLinear` curve definition into an `EraPayout` impl, used for
/// backwards compatibility.
pub struct ConvertCurve<T>(sp_std::marker::PhantomData<T>);
impl<
Balance: AtLeast32BitUnsigned + Clone,
Expand Down

0 comments on commit ea50800

Please sign in to comment.