mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 14:51:07 +00:00
Spelling (#10154)
This commit is contained in:
@@ -140,8 +140,8 @@ let mut target_path =
|
||||
```
|
||||
|
||||
- Unsafe code requires explicit proofs just as panickers do. When introducing unsafe code,
|
||||
consider tradeoffs between efficiency on one hand and reliability, maintenance costs, and
|
||||
security on the other. Here is a list of questions that may help evaluating the tradeoff while
|
||||
consider trade-offs between efficiency on one hand and reliability, maintenance costs, and
|
||||
security on the other. Here is a list of questions that may help evaluating the trade-off while
|
||||
preparing or reviewing a PR:
|
||||
- how much more performant or compact the resulting code will be using unsafe code,
|
||||
- how likely is it that invariants could be violated,
|
||||
|
||||
@@ -248,7 +248,7 @@ pub mod pallet {
|
||||
|
||||
/// Randomness under construction.
|
||||
///
|
||||
/// We make a tradeoff between storage accesses and list length.
|
||||
/// We make a trade-off between storage accesses and list length.
|
||||
/// We store the under-construction randomness in segments of up to
|
||||
/// `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.
|
||||
///
|
||||
|
||||
@@ -218,7 +218,7 @@ pub mod pallet {
|
||||
CallHash,
|
||||
DispatchResult,
|
||||
),
|
||||
/// A multisig operation has been cancelled. \[cancelling, timepoint, multisig, call_hash\]
|
||||
/// A multisig operation has been cancelled. \[canceling, timepoint, multisig, call_hash\]
|
||||
MultisigCancelled(T::AccountId, Timepoint<T::BlockNumber>, T::AccountId, CallHash),
|
||||
}
|
||||
|
||||
|
||||
@@ -1496,7 +1496,7 @@ mod tests {
|
||||
}
|
||||
overlay.start_transaction();
|
||||
|
||||
// Then only initlaization item and second (commited) item should persist.
|
||||
// Then only initlaization item and second (committed) item should persist.
|
||||
{
|
||||
let ext = Ext::new(
|
||||
&mut overlay,
|
||||
|
||||
Reference in New Issue
Block a user