mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
Fix Rustdoc Build (#6207)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user