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

Commit 68660c8

Browse files
committed
Fix various quotes in documentation
1 parent 2a5acff commit 68660c8

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

token/program/src/instruction.rs

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ pub enum TokenInstruction {
8282
/// * Single owner/delegate
8383
/// 0. `[writable]` The source account.
8484
/// 1. `[writable]` The destination account.
85-
/// 2. '[signer]' The source account's owner/delegate.
85+
/// 2. `[signer]` The source account's owner/delegate.
8686
///
8787
/// * Multisignature owner/delegate
8888
/// 0. `[writable]` The source account.
8989
/// 1. `[writable]` The destination account.
90-
/// 2. '[]' The source account's multisignature owner/delegate.
91-
/// 3. ..3+M '[signer]' M signer accounts.
90+
/// 2. `[]` The source account's multisignature owner/delegate.
91+
/// 3. ..3+M `[signer]` M signer accounts.
9292
Transfer {
9393
/// The amount of tokens to transfer.
9494
amount: u64,
@@ -106,8 +106,8 @@ pub enum TokenInstruction {
106106
/// * Multisignature owner
107107
/// 0. `[writable]` The source account.
108108
/// 1. `[]` The delegate.
109-
/// 2. '[]' The source account's multisignature owner.
110-
/// 3. ..3+M '[signer]' M signer accounts
109+
/// 2. `[]` The source account's multisignature owner.
110+
/// 3. ..3+M `[signer]` M signer accounts
111111
Approve {
112112
/// The amount of tokens the delegate is approved for.
113113
amount: u64,
@@ -122,8 +122,8 @@ pub enum TokenInstruction {
122122
///
123123
/// * Multisignature owner
124124
/// 0. `[writable]` The source account.
125-
/// 1. '[]' The source account's multisignature owner.
126-
/// 2. ..2+M '[signer]' M signer accounts
125+
/// 1. `[]` The source account's multisignature owner.
126+
/// 2. ..2+M `[signer]` M signer accounts
127127
Revoke,
128128
/// Sets a new authority of a mint or account.
129129
///
@@ -136,7 +136,7 @@ pub enum TokenInstruction {
136136
/// * Multisignature authority
137137
/// 0. `[writable]` The mint or account to change the authority of.
138138
/// 1. `[]` The mint's or account's multisignature authority.
139-
/// 2. ..2+M '[signer]' M signer accounts
139+
/// 2. ..2+M `[signer]` M signer accounts
140140
SetAuthority {
141141
/// The type of authority to update.
142142
authority_type: AuthorityType,
@@ -156,7 +156,7 @@ pub enum TokenInstruction {
156156
/// 0. `[writable]` The mint.
157157
/// 1. `[writable]` The account to mint tokens to.
158158
/// 2. `[]` The mint's multisignature mint-tokens authority.
159-
/// 3. ..3+M '[signer]' M signer accounts.
159+
/// 3. ..3+M `[signer]` M signer accounts.
160160
MintTo {
161161
/// The amount of new tokens to mint.
162162
amount: u64,
@@ -168,7 +168,7 @@ pub enum TokenInstruction {
168168
///
169169
/// * Single owner/delegate
170170
/// 0. `[writable]` The account to burn from.
171-
/// 1. '[writable]' The token mint.
171+
/// 1. `[writable]` The token mint.
172172
/// 2. `[signer]` The account's owner/delegate.
173173
///
174174
/// * Multisignature owner/delegate
@@ -187,44 +187,44 @@ pub enum TokenInstruction {
187187
///
188188
/// * Single owner
189189
/// 0. `[writable]` The account to close.
190-
/// 1. '[writable]' The destination account.
190+
/// 1. `[writable]` The destination account.
191191
/// 2. `[signer]` The account's owner.
192192
///
193193
/// * Multisignature owner
194194
/// 0. `[writable]` The account to close.
195-
/// 1. '[writable]' The destination account.
195+
/// 1. `[writable]` The destination account.
196196
/// 2. `[]` The account's multisignature owner.
197-
/// 3. ..3+M '[signer]' M signer accounts.
197+
/// 3. ..3+M `[signer]` M signer accounts.
198198
CloseAccount,
199199
/// Freeze an Initialized account using the Mint's freeze_authority (if set).
200200
///
201201
/// Accounts expected by this instruction:
202202
///
203203
/// * Single owner
204204
/// 0. `[writable]` The account to freeze.
205-
/// 1. '[]' The token mint.
205+
/// 1. `[]` The token mint.
206206
/// 2. `[signer]` The mint freeze authority.
207207
///
208208
/// * Multisignature owner
209209
/// 0. `[writable]` The account to freeze.
210-
/// 1. '[]' The token mint.
210+
/// 1. `[]` The token mint.
211211
/// 2. `[]` The mint's multisignature freeze authority.
212-
/// 3. ..3+M '[signer]' M signer accounts.
212+
/// 3. ..3+M `[signer]` M signer accounts.
213213
FreezeAccount,
214214
/// Thaw a Frozen account using the Mint's freeze_authority (if set).
215215
///
216216
/// Accounts expected by this instruction:
217217
///
218218
/// * Single owner
219219
/// 0. `[writable]` The account to freeze.
220-
/// 1. '[]' The token mint.
220+
/// 1. `[]` The token mint.
221221
/// 2. `[signer]` The mint freeze authority.
222222
///
223223
/// * Multisignature owner
224224
/// 0. `[writable]` The account to freeze.
225-
/// 1. '[]' The token mint.
225+
/// 1. `[]` The token mint.
226226
/// 2. `[]` The mint's multisignature freeze authority.
227-
/// 3. ..3+M '[signer]' M signer accounts.
227+
/// 3. ..3+M `[signer]` M signer accounts.
228228
ThawAccount,
229229

230230
/// Transfers tokens from one account to another either directly or via a delegate. If this
@@ -239,16 +239,16 @@ pub enum TokenInstruction {
239239
///
240240
/// * Single owner/delegate
241241
/// 0. `[writable]` The source account.
242-
/// 1. '[]' The token mint.
242+
/// 1. `[]` The token mint.
243243
/// 2. `[writable]` The destination account.
244-
/// 3. '[signer]' The source account's owner/delegate.
244+
/// 3. `[signer]` The source account's owner/delegate.
245245
///
246246
/// * Multisignature owner/delegate
247247
/// 0. `[writable]` The source account.
248-
/// 1. '[]' The token mint.
248+
/// 1. `[]` The token mint.
249249
/// 2. `[writable]` The destination account.
250-
/// 3. '[]' The source account's multisignature owner/delegate.
251-
/// 4. ..4+M '[signer]' M signer accounts.
250+
/// 3. `[]` The source account's multisignature owner/delegate.
251+
/// 4. ..4+M `[signer]` M signer accounts.
252252
Transfer2 {
253253
/// The amount of tokens to transfer.
254254
amount: u64,
@@ -266,16 +266,16 @@ pub enum TokenInstruction {
266266
///
267267
/// * Single owner
268268
/// 0. `[writable]` The source account.
269-
/// 1. '[]' The token mint.
269+
/// 1. `[]` The token mint.
270270
/// 2. `[]` The delegate.
271271
/// 3. `[signer]` The source account owner.
272272
///
273273
/// * Multisignature owner
274274
/// 0. `[writable]` The source account.
275-
/// 1. '[]' The token mint.
275+
/// 1. `[]` The token mint.
276276
/// 2. `[]` The delegate.
277-
/// 3. '[]' The source account's multisignature owner.
278-
/// 4. ..4+M '[signer]' M signer accounts
277+
/// 3. `[]` The source account's multisignature owner.
278+
/// 4. ..4+M `[signer]` M signer accounts
279279
Approve2 {
280280
/// The amount of tokens the delegate is approved for.
281281
amount: u64,
@@ -298,7 +298,7 @@ pub enum TokenInstruction {
298298
/// 0. `[writable]` The mint.
299299
/// 1. `[writable]` The account to mint tokens to.
300300
/// 2. `[]` The mint's multisignature mint-tokens authority.
301-
/// 3. ..3+M '[signer]' M signer accounts.
301+
/// 3. ..3+M `[signer]` M signer accounts.
302302
MintTo2 {
303303
/// The amount of new tokens to mint.
304304
amount: u64,
@@ -315,14 +315,14 @@ pub enum TokenInstruction {
315315
///
316316
/// * Single owner/delegate
317317
/// 0. `[writable]` The account to burn from.
318-
/// 1. '[writable]' The token mint.
318+
/// 1. `[writable]` The token mint.
319319
/// 2. `[signer]` The account's owner/delegate.
320320
///
321321
/// * Multisignature owner/delegate
322322
/// 0. `[writable]` The account to burn from.
323-
/// 1. '[writable]' The token mint.
323+
/// 1. `[writable]` The token mint.
324324
/// 2. `[]` The account's multisignature owner/delegate.
325-
/// 3. ..3+M '[signer]' M signer accounts.
325+
/// 3. ..3+M `[signer]` M signer accounts.
326326
Burn2 {
327327
/// The amount of tokens to burn.
328328
amount: u64,
@@ -570,7 +570,7 @@ impl AuthorityType {
570570
}
571571
}
572572

573-
/// Creates a 'InitializeMint' instruction.
573+
/// Creates a `InitializeMint` instruction.
574574
pub fn initialize_mint(
575575
token_program_id: &Pubkey,
576576
mint_pubkey: &Pubkey,

0 commit comments

Comments
 (0)