Skip to content

Commit e4d9e4b

Browse files
committed
docs: update rustdoc links
Signed-off-by: valued mammal <valuedmammal@protonmail.com>
1 parent 5d8bcf8 commit e4d9e4b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/api.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ use serde::Deserialize;
88
pub use bitcoin::consensus::{deserialize, serialize};
99
pub use bitcoin::hex::FromHex;
1010
pub use bitcoin::{
11-
absolute, block, transaction, Amount, BlockHash, CompactTarget, OutPoint, ScriptBuf,
12-
ScriptHash, Transaction, TxIn, TxOut, Txid, Weight, Witness,
11+
absolute, block, transaction, Amount, Block, BlockHash, CompactTarget, OutPoint, Script,
12+
ScriptBuf, ScriptHash, Transaction, TxIn, TxOut, Txid, Weight, Witness,
1313
};
1414

1515
#[derive(Deserialize, Clone, Debug, PartialEq, Eq)]
@@ -88,7 +88,7 @@ pub struct BlockTime {
8888
pub height: u32,
8989
}
9090

91-
/// Information about a [`Block`].
91+
/// Information about a bitcoin [`Block`].
9292
#[derive(Debug, Clone, Deserialize)]
9393
pub struct BlockInformation {
9494
/// The block's [`BlockHash`].

src/async.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ impl<S: Sleeper> AsyncClient<S> {
532532
self.get_response_json(&path).await
533533
}
534534

535-
/// Get all [`TxOut`]s locked to a [`Script`] hash.
535+
/// Get all [`Utxo`]s locked to a [`Script`].
536536
pub async fn get_scripthash_utxos(&self, script: &Script) -> Result<Vec<Utxo>, Error> {
537537
let script_hash = sha256::Hash::hash(script.as_bytes());
538538
let path = format!("/scripthash/{script_hash}/utxo");

src/blocking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ impl BlockingClient {
460460
self.get_response_json(&path)
461461
}
462462

463-
/// Get all [`TxOut`]s locked to a [`Script`] hash.
463+
/// Get all [`Utxo`]s locked to a [`Script`].
464464
pub fn get_scripthash_utxos(&self, script: &Script) -> Result<Vec<Utxo>, Error> {
465465
let script_hash = sha256::Hash::hash(script.as_bytes());
466466
let path = format!("/scripthash/{script_hash}/utxo");

0 commit comments

Comments
 (0)