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

Commit 6c10d91

Browse files
authored
Fix docs (#111)
1 parent 6d356c1 commit 6c10d91

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

token/inc/token.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ typedef enum Token_TokenInstruction_Tag {
111111
*
112112
* * Single owner
113113
* 0. `[writable]` The source account.
114-
* 2. `[signer]` The source account owner.
114+
* 1. `[signer]` The source account owner.
115115
*
116116
* * Multisignature owner
117117
* 0. `[writable]` The source account.
118-
* 2. '[]' The source account's multisignature owner.
119-
* 3. ..3+M '[signer]' M signer accounts
118+
* 1. '[]' The source account's multisignature owner.
119+
* 2. ..2+M '[signer]' M signer accounts
120120
*/
121121
Revoke,
122122
/**
@@ -160,12 +160,12 @@ typedef enum Token_TokenInstruction_Tag {
160160
*
161161
* * Single owner/delegate
162162
* 0. `[writable]` The account to burn from.
163-
* 2. `[signer]` The account's owner/delegate.
163+
* 1. `[signer]` The account's owner/delegate.
164164
*
165165
* * Multisignature owner/delegate
166166
* 0. `[writable]` The account to burn from.
167-
* 2. `[]` The account's multisignature owner/delegate
168-
* 3. ..3+M '[signer]' M signer accounts.
167+
* 1. `[]` The account's multisignature owner/delegate
168+
* 2. ..2+M '[signer]' M signer accounts.
169169
*/
170170
Burn,
171171
} Token_TokenInstruction_Tag;

token/src/instruction.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ pub enum TokenInstruction {
111111
///
112112
/// * Single owner
113113
/// 0. `[writable]` The source account.
114-
/// 2. `[signer]` The source account owner.
114+
/// 1. `[signer]` The source account owner.
115115
///
116116
/// * Multisignature owner
117117
/// 0. `[writable]` The source account.
118-
/// 2. '[]' The source account's multisignature owner.
119-
/// 3. ..3+M '[signer]' M signer accounts
118+
/// 1. '[]' The source account's multisignature owner.
119+
/// 2. ..2+M '[signer]' M signer accounts
120120
Revoke,
121121
/// Sets a new owner of a mint or account.
122122
///
@@ -157,12 +157,12 @@ pub enum TokenInstruction {
157157
///
158158
/// * Single owner/delegate
159159
/// 0. `[writable]` The account to burn from.
160-
/// 2. `[signer]` The account's owner/delegate.
160+
/// 1. `[signer]` The account's owner/delegate.
161161
///
162162
/// * Multisignature owner/delegate
163163
/// 0. `[writable]` The account to burn from.
164-
/// 2. `[]` The account's multisignature owner/delegate
165-
/// 3. ..3+M '[signer]' M signer accounts.
164+
/// 1. `[]` The account's multisignature owner/delegate
165+
/// 2. ..2+M '[signer]' M signer accounts.
166166
Burn {
167167
/// The amount of tokens to burn.
168168
amount: u64,

0 commit comments

Comments
 (0)