Skip to content

Commit

Permalink
Fix docs (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmay authored Jul 8, 2020
1 parent 6d356c1 commit 6c10d91
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions token/inc/token.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ typedef enum Token_TokenInstruction_Tag {
*
* * Single owner
* 0. `[writable]` The source account.
* 2. `[signer]` The source account owner.
* 1. `[signer]` The source account owner.
*
* * Multisignature owner
* 0. `[writable]` The source account.
* 2. '[]' The source account's multisignature owner.
* 3. ..3+M '[signer]' M signer accounts
* 1. '[]' The source account's multisignature owner.
* 2. ..2+M '[signer]' M signer accounts
*/
Revoke,
/**
Expand Down Expand Up @@ -160,12 +160,12 @@ typedef enum Token_TokenInstruction_Tag {
*
* * Single owner/delegate
* 0. `[writable]` The account to burn from.
* 2. `[signer]` The account's owner/delegate.
* 1. `[signer]` The account's owner/delegate.
*
* * Multisignature owner/delegate
* 0. `[writable]` The account to burn from.
* 2. `[]` The account's multisignature owner/delegate
* 3. ..3+M '[signer]' M signer accounts.
* 1. `[]` The account's multisignature owner/delegate
* 2. ..2+M '[signer]' M signer accounts.
*/
Burn,
} Token_TokenInstruction_Tag;
Expand Down
12 changes: 6 additions & 6 deletions token/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ pub enum TokenInstruction {
///
/// * Single owner
/// 0. `[writable]` The source account.
/// 2. `[signer]` The source account owner.
/// 1. `[signer]` The source account owner.
///
/// * Multisignature owner
/// 0. `[writable]` The source account.
/// 2. '[]' The source account's multisignature owner.
/// 3. ..3+M '[signer]' M signer accounts
/// 1. '[]' The source account's multisignature owner.
/// 2. ..2+M '[signer]' M signer accounts
Revoke,
/// Sets a new owner of a mint or account.
///
Expand Down Expand Up @@ -157,12 +157,12 @@ pub enum TokenInstruction {
///
/// * Single owner/delegate
/// 0. `[writable]` The account to burn from.
/// 2. `[signer]` The account's owner/delegate.
/// 1. `[signer]` The account's owner/delegate.
///
/// * Multisignature owner/delegate
/// 0. `[writable]` The account to burn from.
/// 2. `[]` The account's multisignature owner/delegate
/// 3. ..3+M '[signer]' M signer accounts.
/// 1. `[]` The account's multisignature owner/delegate
/// 2. ..2+M '[signer]' M signer accounts.
Burn {
/// The amount of tokens to burn.
amount: u64,
Expand Down

0 comments on commit 6c10d91

Please sign in to comment.