diff --git a/crates/cdk/src/wallet/multi_mint_wallet.rs b/crates/cdk/src/wallet/multi_mint_wallet.rs index c71a7269..c80483a0 100644 --- a/crates/cdk/src/wallet/multi_mint_wallet.rs +++ b/crates/cdk/src/wallet/multi_mint_wallet.rs @@ -801,17 +801,17 @@ impl MultiMintWallet { /// # async fn example(wallet: MultiMintWallet) -> Result<(), Box> { /// // Receive from a trusted mint /// let token = "cashuAey..."; - /// let amount = wallet.receive(token, MultiMintReceiveOptions::default()).await?; + /// let amount = wallet + /// .receive(token, MultiMintReceiveOptions::default()) + /// .await?; /// /// // Receive from untrusted mint and add it to the wallet - /// let options = MultiMintReceiveOptions::default() - /// .allow_untrusted(true); + /// let options = MultiMintReceiveOptions::default().allow_untrusted(true); /// let amount = wallet.receive(token, options).await?; /// /// // Receive from untrusted mint, transfer to trusted mint, then remove untrusted mint /// let trusted_mint: MintUrl = "https://trusted.mint".parse()?; - /// let options = MultiMintReceiveOptions::default() - /// .transfer_to_mint(Some(trusted_mint)); + /// let options = MultiMintReceiveOptions::default().transfer_to_mint(Some(trusted_mint)); /// let amount = wallet.receive(token, options).await?; /// # Ok(()) /// # }