Skip to content

Commit 33b64f4

Browse files
docs: apply cargo fmt recommendation for dosctrings
1 parent 10c00a5 commit 33b64f4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

bdk-ffi/src/tx_builder.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,12 @@ impl TxBuilder {
289289
/// This will be used to:
290290
///
291291
/// 1. Set the `nLockTime` for preventing fee sniping. Note: This will be ignored if you manually specify a
292-
/// `nlocktime` using `TxBuilder::nlocktime`.
292+
/// `nlocktime` using `TxBuilder::nlocktime`.
293293
///
294294
/// 2. Decide whether coinbase outputs are mature or not. If the coinbase outputs are not mature at `current_height`,
295-
/// we ignore them in the coin selection. If you want to create a transaction that spends immature coinbase inputs,
296-
/// manually add them using `TxBuilder::add_utxos`.
297-
/// In both cases, if you don’t provide a current height, we use the last sync height.
295+
/// we ignore them in the coin selection. If you want to create a transaction that spends immature coinbase inputs,
296+
/// manually add them using `TxBuilder::add_utxos`.
297+
/// In both cases, if you don’t provide a current height, we use the last sync height.
298298
pub fn current_height(&self, height: u32) -> Arc<Self> {
299299
Arc::new(TxBuilder {
300300
current_height: Some(height),
@@ -451,12 +451,12 @@ impl BumpFeeTxBuilder {
451451
/// This will be used to:
452452
///
453453
/// 1. Set the `nLockTime` for preventing fee sniping. Note: This will be ignored if you manually specify a
454-
/// `nlocktime` using `TxBuilder::nlocktime`.
454+
/// `nlocktime` using `TxBuilder::nlocktime`.
455455
///
456456
/// 2. Decide whether coinbase outputs are mature or not. If the coinbase outputs are not mature at `current_height`,
457-
/// we ignore them in the coin selection. If you want to create a transaction that spends immature coinbase inputs,
458-
/// manually add them using `TxBuilder::add_utxos`.
459-
/// In both cases, if you don’t provide a current height, we use the last sync height.
457+
/// we ignore them in the coin selection. If you want to create a transaction that spends immature coinbase inputs,
458+
/// manually add them using `TxBuilder::add_utxos`.
459+
/// In both cases, if you don’t provide a current height, we use the last sync height.
460460
pub fn current_height(&self, height: u32) -> Arc<Self> {
461461
Arc::new(BumpFeeTxBuilder {
462462
current_height: Some(height),

0 commit comments

Comments
 (0)