Unverified Commit 5f48c2a9 authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

some spelling fixes (#4088)

* quotes around Job::ToJob
* add new words to dictionary
parent b3d59c26
Pipeline #162648 passed with stages
in 42 minutes and 10 seconds
......@@ -62,7 +62,7 @@ impl CollationGenerationSubsystem {
/// Conceptually, this is very simple: it just loops forever.
///
/// - 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.
/// - On outgoing messages from the jobs, it forwards them to the overseer.
///
......
......@@ -95,7 +95,7 @@ pub fn channel<T>(
#[allow(missing_docs)]
#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("Oneshot was cancelled.")]
#[error("Oneshot was canceled.")]
Canceled(#[source] Canceled, Measurements),
#[error("Oneshot did not receive a response within {}", Duration::as_secs_f64(.0))]
HardTimeout(Duration, Measurements),
......@@ -124,7 +124,7 @@ impl<T> MeteredSender<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<()> {
self.inner.poll_canceled(ctx)
}
......
......@@ -638,7 +638,7 @@ struct JobSubsystemParams<Spawner, RunArgs, Metrics> {
/// Conceptually, this is very simple: it just loops forever.
///
/// - 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.
/// - On outgoing messages from the jobs, it forwards them to the overseer.
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,
/// 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(
statement_sets: MultiDisputeStatementSet,
) -> 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
/// 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.
#[pallet::weight(0)]
pub fn hrmp_cancel_open_request(
......
......@@ -67,6 +67,7 @@ encodable
enqueue/D
enqueue/DMSG
entrypoint/MS
enum
ERC-20
ETH/S
ethereum/MS
......@@ -253,6 +254,8 @@ teleporter/SM
teleporters
testnet/MS
timestamp/MS
timeframe
tradeoff
transitionary
trie/MS
trustless/Y
......@@ -262,6 +265,7 @@ typesystem
ubuntu/M
UDP
UI
unconcluded
unfinalize/B
unfinalized
union/MSG
......@@ -291,6 +295,7 @@ VMP/SM
VPS
VRF/SM
w3f/MS
wakeup
wakeups
warming/S
wasm/M
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment