Fix Rustdoc Build (#6207)

This commit is contained in:
Dan Forbes
2020-06-01 13:54:13 -07:00
committed by GitHub
parent 6f677cdb23
commit 4b6537fbba
6 changed files with 8 additions and 9 deletions
@@ -241,7 +241,7 @@ impl<B: BlockNumberProvider> Lockable for BlockAndTime<B> {
///
/// A lock that is persisted in the DB and provides the ability to guard against
/// concurrent access in an off-chain worker, with a defined expiry deadline
/// based on the concrete [`Lockable`](Self::Lockable) implementation.
/// based on the concrete [`Lockable`](Lockable) implementation.
pub struct StorageLock<'a, L = Time> {
// A storage value ref which defines the DB entry representing the lock.
value_ref: StorageValueRef<'a>,
@@ -396,7 +396,7 @@ where
}
/// Bound for a block number source
/// used with [`BlockAndTime<BlockNumberProvider>`](Self::BlockAndTime).
/// used with [`BlockAndTime<BlockNumberProvider>`](BlockAndTime).
pub trait BlockNumberProvider {
/// Type of `BlockNumber` to provide.
type BlockNumber: Codec + Clone + Ord + Eq + AtLeast32Bit;