mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 10:31:03 +00:00
some spelling fixes (#4088)
* quotes around Job::ToJob * add new words to dictionary
This commit is contained in:
@@ -62,7 +62,7 @@ impl CollationGenerationSubsystem {
|
|||||||
/// Conceptually, this is very simple: it just loops forever.
|
/// Conceptually, this is very simple: it just loops forever.
|
||||||
///
|
///
|
||||||
/// - On incoming overseer messages, it starts or stops jobs as appropriate.
|
/// - On incoming overseer messages, it starts or stops jobs as appropriate.
|
||||||
/// - On other incoming messages, if they can be converted into Job::ToJob and
|
/// - On other incoming messages, if they can be converted into `Job::ToJob` and
|
||||||
/// include a hash, then they're forwarded to the appropriate individual job.
|
/// include a hash, then they're forwarded to the appropriate individual job.
|
||||||
/// - On outgoing messages from the jobs, it forwards them to the overseer.
|
/// - On outgoing messages from the jobs, it forwards them to the overseer.
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ pub fn channel<T>(
|
|||||||
#[allow(missing_docs)]
|
#[allow(missing_docs)]
|
||||||
#[derive(thiserror::Error, Debug)]
|
#[derive(thiserror::Error, Debug)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
#[error("Oneshot was cancelled.")]
|
#[error("Oneshot was canceled.")]
|
||||||
Canceled(#[source] Canceled, Measurements),
|
Canceled(#[source] Canceled, Measurements),
|
||||||
#[error("Oneshot did not receive a response within {}", Duration::as_secs_f64(.0))]
|
#[error("Oneshot did not receive a response within {}", Duration::as_secs_f64(.0))]
|
||||||
HardTimeout(Duration, Measurements),
|
HardTimeout(Duration, Measurements),
|
||||||
@@ -124,7 +124,7 @@ impl<T> MeteredSender<T> {
|
|||||||
inner.send((Instant::now(), t)).map_err(|(_, t)| t)
|
inner.send((Instant::now(), t)).map_err(|(_, t)| t)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Poll if the thing is already cancelled.
|
/// Poll if the thing is already canceled.
|
||||||
pub fn poll_canceled(&mut self, ctx: &mut Context<'_>) -> Poll<()> {
|
pub fn poll_canceled(&mut self, ctx: &mut Context<'_>) -> Poll<()> {
|
||||||
self.inner.poll_canceled(ctx)
|
self.inner.poll_canceled(ctx)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -638,7 +638,7 @@ struct JobSubsystemParams<Spawner, RunArgs, Metrics> {
|
|||||||
/// Conceptually, this is very simple: it just loops forever.
|
/// Conceptually, this is very simple: it just loops forever.
|
||||||
///
|
///
|
||||||
/// - On incoming overseer messages, it starts or stops jobs as appropriate.
|
/// - On incoming overseer messages, it starts or stops jobs as appropriate.
|
||||||
/// - On other incoming messages, if they can be converted into Job::ToJob and
|
/// - On other incoming messages, if they can be converted into `Job::ToJob` and
|
||||||
/// include a hash, then they're forwarded to the appropriate individual job.
|
/// include a hash, then they're forwarded to the appropriate individual job.
|
||||||
/// - On outgoing messages from the jobs, it forwards them to the overseer.
|
/// - On outgoing messages from the jobs, it forwards them to the overseer.
|
||||||
pub struct JobSubsystem<Job: JobTrait, Spawner> {
|
pub struct JobSubsystem<Job: JobTrait, Spawner> {
|
||||||
|
|||||||
@@ -708,7 +708,7 @@ impl<T: Config> Pallet<T> {
|
|||||||
///
|
///
|
||||||
/// This functions modifies the state when failing. It is expected to be called in inherent,
|
/// This functions modifies the state when failing. It is expected to be called in inherent,
|
||||||
/// and to fail the extrinsic on error. As invalid inherents are not allowed, the dirty state
|
/// and to fail the extrinsic on error. As invalid inherents are not allowed, the dirty state
|
||||||
/// is not commited.
|
/// is not committed.
|
||||||
pub(crate) fn provide_multi_dispute_data(
|
pub(crate) fn provide_multi_dispute_data(
|
||||||
statement_sets: MultiDisputeStatementSet,
|
statement_sets: MultiDisputeStatementSet,
|
||||||
) -> Result<Vec<(SessionIndex, CandidateHash)>, DispatchError> {
|
) -> Result<Vec<(SessionIndex, CandidateHash)>, DispatchError> {
|
||||||
|
|||||||
@@ -480,7 +480,7 @@ pub mod pallet {
|
|||||||
/// This cancels a pending open channel request. It can be canceled be either of the sender
|
/// This cancels a pending open channel request. It can be canceled be either of the sender
|
||||||
/// or the recipient for that request. The origin must be either of those.
|
/// or the recipient for that request. The origin must be either of those.
|
||||||
///
|
///
|
||||||
/// The cancelling happens immediately. It is not possible to cancel the request if it is
|
/// The cancellation happens immediately. It is not possible to cancel the request if it is
|
||||||
/// already accepted.
|
/// already accepted.
|
||||||
#[pallet::weight(0)]
|
#[pallet::weight(0)]
|
||||||
pub fn hrmp_cancel_open_request(
|
pub fn hrmp_cancel_open_request(
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ encodable
|
|||||||
enqueue/D
|
enqueue/D
|
||||||
enqueue/DMSG
|
enqueue/DMSG
|
||||||
entrypoint/MS
|
entrypoint/MS
|
||||||
|
enum
|
||||||
ERC-20
|
ERC-20
|
||||||
ETH/S
|
ETH/S
|
||||||
ethereum/MS
|
ethereum/MS
|
||||||
@@ -253,6 +254,8 @@ teleporter/SM
|
|||||||
teleporters
|
teleporters
|
||||||
testnet/MS
|
testnet/MS
|
||||||
timestamp/MS
|
timestamp/MS
|
||||||
|
timeframe
|
||||||
|
tradeoff
|
||||||
transitionary
|
transitionary
|
||||||
trie/MS
|
trie/MS
|
||||||
trustless/Y
|
trustless/Y
|
||||||
@@ -262,6 +265,7 @@ typesystem
|
|||||||
ubuntu/M
|
ubuntu/M
|
||||||
UDP
|
UDP
|
||||||
UI
|
UI
|
||||||
|
unconcluded
|
||||||
unfinalize/B
|
unfinalize/B
|
||||||
unfinalized
|
unfinalized
|
||||||
union/MSG
|
union/MSG
|
||||||
@@ -291,6 +295,7 @@ VMP/SM
|
|||||||
VPS
|
VPS
|
||||||
VRF/SM
|
VRF/SM
|
||||||
w3f/MS
|
w3f/MS
|
||||||
|
wakeup
|
||||||
wakeups
|
wakeups
|
||||||
warming/S
|
warming/S
|
||||||
wasm/M
|
wasm/M
|
||||||
|
|||||||
Reference in New Issue
Block a user