From 3618b8d285916c6e579507b691db7a44270d18ad Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 31 Oct 2024 12:45:16 +0100 Subject: [PATCH] CI: Fix clippy for confidential mint/burn #### Problem The PR for the upgrade for v2.1 and confidential mint/burn went in at the same time, but there were some improper doc comments in the confidential mint/burn, which breaks the new clippy version used with v2.1. #### Summary of changes Update the doc comments to unbreak master. --- .../src/extension/confidential_mint_burn/instruction.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/token/program-2022/src/extension/confidential_mint_burn/instruction.rs b/token/program-2022/src/extension/confidential_mint_burn/instruction.rs index 6e808d3653e..b4abbb755b4 100644 --- a/token/program-2022/src/extension/confidential_mint_burn/instruction.rs +++ b/token/program-2022/src/extension/confidential_mint_burn/instruction.rs @@ -77,7 +77,7 @@ pub enum ConfidentialMintBurnInstruction { /// `CiphertextCiphertextEquality` is pre-verified into a context state /// account. /// 2. `[]` The multisig authority account owner. - /// 3.. `[signer]` Required M signer accounts for the SPL Token Multisig + /// 3. ..`[signer]` Required M signer accounts for the SPL Token Multisig /// /// Data expected by this instruction: /// `RotateSupplyElGamalPubkeyData` @@ -93,7 +93,7 @@ pub enum ConfidentialMintBurnInstruction { /// * Multisignature authority /// 0. `[writable]` The SPL Token mint. /// 1. `[]` The multisig authority account owner. - /// 2.. `[signer]` Required M signer accounts for the SPL Token Multisig + /// 2. ..`[signer]` Required M signer accounts for the SPL Token Multisig /// /// Data expected by this instruction: /// `UpdateDecryptableSupplyData` @@ -133,7 +133,7 @@ pub enum ConfidentialMintBurnInstruction { /// 5. `[]` (Optional) The context state account containing the /// pre-verified `VerifyBatchedRangeProofU128` /// 6. `[]` The multisig account owner. - /// 7.. `[signer]` Required M signer accounts for the SPL Token Multisig + /// 7. ..`[signer]` Required M signer accounts for the SPL Token Multisig /// /// Data expected by this instruction: /// `MintInstructionData` @@ -173,7 +173,7 @@ pub enum ConfidentialMintBurnInstruction { /// 5. `[]` (Optional) The context state account containing the /// pre-verified `VerifyBatchedRangeProofU128` /// 6. `[]` The multisig account owner. - /// 7.. `[signer]` Required M signer accounts for the SPL Token Multisig + /// 7. ..`[signer]` Required M signer accounts for the SPL Token Multisig /// /// Data expected by this instruction: /// `BurnInstructionData`