Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 591eeed

Browse files
authored
chore: fix some comments (#7054)
Signed-off-by: riyueguang <[email protected]>
1 parent 26c7929 commit 591eeed

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/src/token.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1874,7 +1874,7 @@ Unlocking works by pushing a permissionless crank on the contract that moves the
18741874
- Audit: The audit was conducted by Kudelski, the report can be found [here](https://github.com/Bonfida/token-vesting/blob/master/audit/Bonfida_SecurityAssessment_Vesting_Final050521.pdf)
18751875

18761876
#### 2) Streamflow Timelock
1877-
Enables creation, withdrawal, cancelation and transfer of token vesting contracts using time-based lock and escrow accounts.
1877+
Enables creation, withdrawal, cancellation and transfer of token vesting contracts using time-based lock and escrow accounts.
18781878
Contracts are by default cancelable by the creator and transferable by the recipient.
18791879

18801880
Vesting contract creator chooses various options upon creation, such as:

docs/src/transfer-hook-interface/specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The next two instructions of the interface deal with these configurations.
3636

3737
### (Optional) Instruction: `InitializeExtraAccountMetaList`
3838

39-
This instruction does exactly what the name implies: it intializes the
39+
This instruction does exactly what the name implies: it initializes the
4040
validation account to store a list of extra required
4141
[`AccountMeta`](https://docs.rs/solana-program/latest/solana_program/instruction/struct.AccountMeta.html)
4242
configurations for the `Execute` instruction.

single-pool/js/packages/modern/src/quarantine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from '@solana/web3.js';
88

99
// HERE BE DRAGONS
10-
// this is all the stuff that shouldnt be in our library once we can import from elsewhere
10+
// this is all the stuff that shouldn't be in our library once we can import from elsewhere
1111

1212
export const SYSTEM_PROGRAM_ID = address('11111111111111111111111111111111');
1313
export const STAKE_PROGRAM_ID = address('Stake11111111111111111111111111111111111111');

single-pool/program/tests/helpers/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ where
431431
};
432432

433433
// this silly thing is because we can guarantee From<T> has a Debug for T
434-
// but TryFrom<T> produces Result<T, E> and E may not have Debug. so we cant
434+
// but TryFrom<T> produces Result<T, E> and E may not have Debug. so we can't
435435
// call unwrap also we use TryFrom because we have to go `instruction
436436
// error-> program error` because StakeError impls the former but not the
437437
// latter... and that conversion is merely surjective........

token/program-2022/src/extension/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ pub trait BaseStateWithExtensionsMut<S: BaseState>: BaseStateWithExtensions<S> {
604604
Ok(extension_ref)
605605
}
606606

607-
/// Reallocate and overwite the TLV entry for the given variable-length
607+
/// Reallocate and overwrite the TLV entry for the given variable-length
608608
/// extension.
609609
///
610610
/// Returns an error if the extension is not present, or if there is not

0 commit comments

Comments
 (0)