Skip to content

Commit d443730

Browse files
committed
More spelling fixes
1 parent 2bc3539 commit d443730

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Diff for: interface/src/instruction.rs

+15-15
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub enum TokenInstruction<'a> {
6767
///
6868
/// 0. `[writable]` The multisignature account to initialize.
6969
/// 1. `[]` Rent sysvar
70-
/// 2+N. `[signer]` The signer accounts, must equal to N where `1 <= N <= 11`.
70+
/// 2. `..+N` `[signer]` The signer accounts, must equal to N where `1 <= N <= 11`.
7171
InitializeMultisig {
7272
/// The number of signers (M) required to validate this multisignature
7373
/// account.
@@ -90,7 +90,7 @@ pub enum TokenInstruction<'a> {
9090
/// 0. `[writable]` The source account.
9191
/// 1. `[writable]` The destination account.
9292
/// 2. `[]` The source account's multisignature owner/delegate.
93-
/// 3+M. `[signer]` M signer accounts.
93+
/// 3. `..+M` `[signer]` M signer accounts.
9494
Transfer {
9595
/// The amount of tokens to transfer.
9696
amount: u64,
@@ -110,7 +110,7 @@ pub enum TokenInstruction<'a> {
110110
/// 0. `[writable]` The source account.
111111
/// 1. `[]` The delegate.
112112
/// 2. `[]` The source account's multisignature owner.
113-
/// 3+M. `[signer]` M signer accounts
113+
/// 3. `..+M` `[signer]` M signer accounts
114114
Approve {
115115
/// The amount of tokens the delegate is approved for.
116116
amount: u64,
@@ -127,7 +127,7 @@ pub enum TokenInstruction<'a> {
127127
/// * Multisignature owner
128128
/// 0. `[writable]` The source account.
129129
/// 1. `[]` The source account's multisignature owner.
130-
/// 2+M. `[signer]` M signer accounts
130+
/// 2. `..+M` `[signer]` M signer accounts
131131
Revoke,
132132

133133
/// Sets a new authority of a mint or account.
@@ -141,7 +141,7 @@ pub enum TokenInstruction<'a> {
141141
/// * Multisignature authority
142142
/// 0. `[writable]` The mint or account to change the authority of.
143143
/// 1. `[]` The mint's or account's current multisignature authority.
144-
/// 2+M. `[signer]` M signer accounts
144+
/// 2. `..+M` `[signer]` M signer accounts
145145
SetAuthority {
146146
/// The type of authority to update.
147147
authority_type: AuthorityType,
@@ -163,7 +163,7 @@ pub enum TokenInstruction<'a> {
163163
/// 0. `[writable]` The mint.
164164
/// 1. `[writable]` The account to mint tokens to.
165165
/// 2. `[]` The mint's multisignature mint-tokens authority.
166-
/// 3+M. `[signer]` M signer accounts.
166+
/// 3. `..+M` `[signer]` M signer accounts.
167167
MintTo {
168168
/// The amount of new tokens to mint.
169169
amount: u64,
@@ -183,7 +183,7 @@ pub enum TokenInstruction<'a> {
183183
/// 0. `[writable]` The account to burn from.
184184
/// 1. `[writable]` The token mint.
185185
/// 2. `[]` The account's multisignature owner/delegate.
186-
/// 3+M. `[signer]` M signer accounts.
186+
/// 3. `..+M` `[signer]` M signer accounts.
187187
Burn {
188188
/// The amount of tokens to burn.
189189
amount: u64,
@@ -203,7 +203,7 @@ pub enum TokenInstruction<'a> {
203203
/// 0. `[writable]` The account to close.
204204
/// 1. `[writable]` The destination account.
205205
/// 2. `[]` The account's multisignature owner.
206-
/// 3+M. `[signer]` M signer accounts.
206+
/// 3. `..+M` `[signer]` M signer accounts.
207207
CloseAccount,
208208

209209
/// Freeze an Initialized account using the Mint's [`freeze_authority`] (if
@@ -220,7 +220,7 @@ pub enum TokenInstruction<'a> {
220220
/// 0. `[writable]` The account to freeze.
221221
/// 1. `[]` The token mint.
222222
/// 2. `[]` The mint's multisignature freeze authority.
223-
/// 3+M. `[signer]` M signer accounts.
223+
/// 3. `..+M` `[signer]` M signer accounts.
224224
FreezeAccount,
225225

226226
/// Thaw a Frozen account using the Mint's [`freeze_authority`] (if set).
@@ -236,7 +236,7 @@ pub enum TokenInstruction<'a> {
236236
/// 0. `[writable]` The account to freeze.
237237
/// 1. `[]` The token mint.
238238
/// 2. `[]` The mint's multisignature freeze authority.
239-
/// 3+M. `[signer]` M signer accounts.
239+
/// 3. `..+M` `[signer]` M signer accounts.
240240
ThawAccount,
241241

242242
/// Transfers tokens from one account to another either directly or via a
@@ -261,7 +261,7 @@ pub enum TokenInstruction<'a> {
261261
/// 1. `[]` The token mint.
262262
/// 2. `[writable]` The destination account.
263263
/// 3. `[]` The source account's multisignature owner/delegate.
264-
/// 4+M. `[signer]` M signer accounts.
264+
/// 4. `..+M` `[signer]` M signer accounts.
265265
TransferChecked {
266266
/// The amount of tokens to transfer.
267267
amount: u64,
@@ -289,7 +289,7 @@ pub enum TokenInstruction<'a> {
289289
/// 1. `[]` The token mint.
290290
/// 2. `[]` The delegate.
291291
/// 3. `[]` The source account's multisignature owner.
292-
/// 4+M. `[signer]` M signer accounts
292+
/// 4. `..+M` `[signer]` M signer accounts
293293
ApproveChecked {
294294
/// The amount of tokens the delegate is approved for.
295295
amount: u64,
@@ -315,7 +315,7 @@ pub enum TokenInstruction<'a> {
315315
/// 0. `[writable]` The mint.
316316
/// 1. `[writable]` The account to mint tokens to.
317317
/// 2. `[]` The mint's multisignature mint-tokens authority.
318-
/// 3+M. `[signer]` M signer accounts.
318+
/// 3. `..+M` `[signer]` M signer accounts.
319319
MintToChecked {
320320
/// The amount of new tokens to mint.
321321
amount: u64,
@@ -342,7 +342,7 @@ pub enum TokenInstruction<'a> {
342342
/// 0. `[writable]` The account to burn from.
343343
/// 1. `[writable]` The token mint.
344344
/// 2. `[]` The account's multisignature owner/delegate.
345-
/// 3+M. `[signer]` M signer accounts.
345+
/// 3. `..+M` `[signer]` M signer accounts.
346346
BurnChecked {
347347
/// The amount of tokens to burn.
348348
amount: u64,
@@ -395,7 +395,7 @@ pub enum TokenInstruction<'a> {
395395
/// Accounts expected by this instruction:
396396
///
397397
/// 0. `[writable]` The multisignature account to initialize.
398-
/// 1+N. `[signer]` The signer accounts, must equal to N where `1 <= N <= 11`.
398+
/// 1. `..+N` `[signer]` The signer accounts, must equal to N where `1 <= N <= 11`.
399399
InitializeMultisig2 {
400400
/// The number of signers (M) required to validate this multisignature
401401
/// account.

0 commit comments

Comments
 (0)