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

some spelling fixes #4088

Merged
merged 5 commits into from
Oct 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion node/collation-generation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

/// include a hash, then they're forwarded to the appropriate individual job.
/// - On outgoing messages from the jobs, it forwards them to the overseer.
///
Expand Down
4 changes: 2 additions & 2 deletions node/metered-channel/src/oneshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Canceled(#[source] Canceled, Measurements),
#[error("Oneshot did not receive a response within {}", Duration::as_secs_f64(.0))]
HardTimeout(Duration, Measurements),
Expand Down Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion node/subsystem-util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down
2 changes: 1 addition & 1 deletion runtime/parachains/src/disputes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

pub(crate) fn provide_multi_dispute_data(
statement_sets: MultiDisputeStatementSet,
) -> Result<Vec<(SessionIndex, CandidateHash)>, DispatchError> {
Expand Down
2 changes: 1 addition & 1 deletion runtime/parachains/src/hrmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
5 changes: 5 additions & 0 deletions scripts/gitlab/lingua.dic
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ encodable
enqueue/D
enqueue/DMSG
entrypoint/MS
enum
ERC-20
ETH/S
ethereum/MS
Expand Down Expand Up @@ -253,6 +254,8 @@ teleporter/SM
teleporters
testnet/MS
timestamp/MS
timeframe
tradeoff
transitionary
trie/MS
trustless/Y
Expand All @@ -262,6 +265,7 @@ typesystem
ubuntu/M
UDP
UI
unconcluded
unfinalize/B
unfinalized
union/MSG
Expand Down Expand Up @@ -291,6 +295,7 @@ VMP/SM
VPS
VRF/SM
w3f/MS
wakeup
wakeups
warming/S
wasm/M
Expand Down