[docs] Format code in docs with '--config format_code_in_doc_comments=true'

This commit is contained in:
Steve Myers
2020-12-16 14:19:37 -08:00
parent fb5c70fc64
commit 2325a1fcc2
8 changed files with 88 additions and 36 deletions

View File

@@ -43,7 +43,12 @@
//! }"#;
//!
//! let import = WalletExport::from_str(import)?;
//! let wallet: OfflineWallet<_> = Wallet::new_offline(&import.descriptor(), import.change_descriptor().as_ref(), Network::Testnet, MemoryDatabase::default())?;
//! let wallet: OfflineWallet<_> = Wallet::new_offline(
//! &import.descriptor(),
//! import.change_descriptor().as_ref(),
//! Network::Testnet,
//! MemoryDatabase::default(),
//! )?;
//! # Ok::<_, bdk::Error>(())
//! ```
//!