Skip to content

Commit 43a7ffb

Browse files
committed
docs: Fix miscellaneous rustdocs
1 parent dc6c82f commit 43a7ffb

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/wallet/changeset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ type IndexedTxGraphChangeSet =
9797
/// [merged]: bdk_chain::Merge
9898
/// [`network`]: Self::network
9999
/// [`PersistedWallet`]: crate::PersistedWallet
100-
/// [SQLite]: bdk_chain::rusqlite_impl
100+
/// [SQLite]: <https://github.com/bitcoindevkit/bdk/blob/chain-0.23.2/crates/chain/src/rusqlite_impl.rs>
101101
/// [`Update`]: crate::Update
102102
/// [`WalletPersister`]: crate::WalletPersister
103103
/// [`Wallet::staged`]: crate::Wallet::staged

src/wallet/error.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@
1313
1414
use crate::descriptor::policy::PolicyError;
1515
use crate::descriptor::{DescriptorError, ExtendedDescriptor};
16-
use crate::wallet::coin_selection;
17-
use crate::{descriptor, KeychainKind, LoadWithPersistError};
16+
use crate::{coin_selection, descriptor, KeychainKind, LoadWithPersistError};
1817
use alloc::{
1918
boxed::Box,
2019
string::{String, ToString},
2120
};
2221
use bitcoin::{absolute, psbt, Amount, BlockHash, Network, OutPoint, Sequence, Txid};
2322
use core::fmt;
2423

25-
/// The error type when loading a [`Wallet`] from a [`ChangeSet`].
24+
/// The error type when loading a [`Wallet`](crate::Wallet) from a [`ChangeSet`](crate::ChangeSet).
2625
#[derive(Debug)]
2726
pub enum LoadError {
2827
/// There was a problem with the passed-in descriptor(s).
@@ -54,7 +53,8 @@ impl fmt::Display for LoadError {
5453
#[cfg(feature = "std")]
5554
impl std::error::Error for LoadError {}
5655

57-
/// Represents a mismatch with what is loaded and what is expected from [`LoadParams`].
56+
/// Represents a mismatch with what is loaded and what is expected from
57+
/// [`LoadParams`](crate::LoadParams).
5858
#[derive(Debug, PartialEq)]
5959
pub enum LoadMismatch {
6060
/// Network does not match.

src/wallet/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ impl Wallet {
10851085
/// [`TxGraph::full_txs`].
10861086
///
10871087
/// To iterate over all canonical transactions, including those that are irrelevant, use
1088-
/// [`TxGraph::list_canonical_txs`].
1088+
/// [`CanonicalView::txs`].
10891089
pub fn transactions(&self) -> impl Iterator<Item = WalletTx> + '_ {
10901090
self.canonical_view
10911091
.txs()

0 commit comments

Comments
 (0)