refactor: fixing pre commit hooks checks (#789)

This commit is contained in:
asmo
2025-06-06 12:40:36 +02:00
committed by GitHub
parent 9f4d5ba424
commit d9652d7f53
4 changed files with 9 additions and 13 deletions

View File

@@ -1,6 +1,4 @@
//! WS Index
//!
//!
use std::fmt::Debug;
use std::ops::Deref;

View File

@@ -1,7 +1,6 @@
//! Module containing command-line interface functionality for the mint RPC client
//!
//! This module provides the CLI interface for interacting with the mint server via RPC
//!
/// Subcommands for cli
pub mod subcommands;

View File

@@ -24,9 +24,9 @@ impl Wallet {
/// use std::sync::Arc;
///
/// use cdk::amount::Amount;
/// use cdk_sqlite::wallet::memory;
/// use cdk::nuts::CurrencyUnit;
/// use cdk::wallet::Wallet;
/// use cdk_sqlite::wallet::memory;
/// use rand::random;
///
/// #[tokio::main]
@@ -148,10 +148,10 @@ impl Wallet {
///
/// use anyhow::Result;
/// use cdk::amount::{Amount, SplitTarget};
/// use cdk_sqlite::wallet::memory;
/// use cdk::nuts::nut00::ProofsMethods;
/// use cdk::nuts::CurrencyUnit;
/// use cdk::wallet::Wallet;
/// use cdk_sqlite::wallet::memory;
/// use rand::random;
///
/// #[tokio::main]

View File

@@ -134,13 +134,12 @@ impl Wallet {
/// Create new [`Wallet`] using the builder pattern
/// # Synopsis
/// ```rust
/// use std::sync::Arc;
/// use bitcoin::Network;
/// use bitcoin::bip32::Xpriv;
/// use std::sync::Arc;
///
/// use cdk_sqlite::wallet::memory;
/// use cdk::nuts::CurrencyUnit;
/// use cdk::wallet::{Wallet, WalletBuilder};
/// use cdk_sqlite::wallet::memory;
/// use rand::random;
///
/// async fn test() -> anyhow::Result<()> {
@@ -150,11 +149,11 @@ impl Wallet {
///
/// let localstore = memory::empty().await?;
/// let wallet = WalletBuilder::new()
/// .mint_url(mint_url.parse().unwrap())
/// .unit(unit)
/// .localstore(Arc::new(localstore))
/// .seed(&seed)
/// .build();
/// .mint_url(mint_url.parse().unwrap())
/// .unit(unit)
/// .localstore(Arc::new(localstore))
/// .seed(&seed)
/// .build();
/// Ok(())
/// }
/// ```