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

Commit 0e8e13d

Browse files
committed
Re-run cargo fmt after doc comment update
1 parent 4b190a1 commit 0e8e13d

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

libraries/type-length-value/src/state.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,8 @@ impl<'data> TlvStateMut<'data> {
375375

376376
/// Packs the default TLV data into the first open slot in the data buffer.
377377
/// Handles repetition based on the boolean arg provided:
378-
/// * `true`: If extension is already found in the buffer, it returns an error.
378+
/// * `true`: If extension is already found in the buffer, it returns an
379+
/// error.
379380
/// * `false`: Will add a new entry to the next open slot.
380381
pub fn init_value<V: SplDiscriminate + Pod + Default>(
381382
&mut self,

token-lending/program/src/instruction.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,10 @@ pub enum LendingInstruction {
158158
///
159159
/// 0. `[writable]` Obligation account.
160160
/// 1. `[]` Clock sysvar.
161-
/// 2. .. `[]` Collateral deposit reserve accounts - refreshed, all, in order.
162-
/// 3. .. `[]` Liquidity borrow reserve accounts - refreshed, all, in order.
161+
/// 2. .. `[]` Collateral deposit reserve accounts - refreshed, all, in
162+
/// order.
163+
/// 3. .. `[]` Liquidity borrow reserve accounts - refreshed, all, in
164+
/// order.
163165
RefreshObligation,
164166

165167
// 8
@@ -319,10 +321,8 @@ pub enum LendingInstruction {
319321
/// above).
320322
/// 2. `[]` Token program id
321323
/// 3. .. `[any]` Additional accounts provided to the lending program's
322-
/// `FlashLoan` instruction above. ReceiveFlashLoan {
323-
/// // Amount that must be repaid by the receiver program
324-
/// amount: u64
325-
/// }
324+
/// `FlashLoan` instruction above. ReceiveFlashLoan { // Amount that
325+
/// must be repaid by the receiver program amount: u64 }
326326
FlashLoan {
327327
/// The amount that is to be borrowed - u64::MAX for up to 100% of
328328
/// available liquidity

token-swap/program/src/instruction.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ pub enum SwapInstruction {
107107
/// 3. `[]` token_b Account. Must be non zero, owned by swap authority.
108108
/// 4. `[writable]` Pool Token Mint. Must be empty, owned by swap
109109
/// authority.
110-
/// 5. `[]` Pool Token Account to deposit trading and withdraw fees.
111-
/// Must be empty, not owned by swap authority
110+
/// 5. `[]` Pool Token Account to deposit trading and withdraw fees. Must
111+
/// be empty, not owned by swap authority
112112
/// 6. `[writable]` Pool Token Account to deposit the initial pool token
113113
/// supply. Must be empty, not owned by swap authority.
114114
/// 7. `[]` Pool Token program id

token/program-2022/src/extension/confidential_transfer/instruction.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,8 @@ pub enum ConfidentialTransferInstruction {
473473
/// 9. `[]` (Optional) Range proof record account or context state
474474
/// account.
475475
/// 10. `[]` The multisig source account owner.
476-
/// 11. .. `[signer]` Required M signer accounts for the SPL Token Multisig
476+
/// 11. .. `[signer]` Required M signer accounts for the SPL Token
477+
/// Multisig
477478
///
478479
/// Data expected by this instruction:
479480
/// `TransferWithFeeInstructionData`

0 commit comments

Comments
 (0)