rust-bitcoin-unsafe-fast/bitcoin/examples
Jamil Lambert, PhD a76d76eca1
Change `T::from_str(s)` to `s.parse::<T>()`
`s.parse` is more idiomatic and produces more helpful error messages.

This has been changed repo wide in the main codebase, not including
examples, rustdocs, and in the test module.

`use std::str::FromStr;` has been removed where this change makes
it unnecessary.
2024-08-27 17:31:00 +01:00
..
bip32.rs Change `T::from_str(s)` to `s.parse::<T>()` 2024-08-27 17:31:00 +01:00
ecdsa-psbt-simple.rs Use lower case error messages 2024-07-15 09:25:08 +01:00
ecdsa-psbt.rs Introduce two extensions traits for ScriptBuf 2024-08-20 09:34:34 +10:00
handshake.rs Use lower case error messages 2024-07-15 09:25:08 +01:00
sighash.rs Replace impl blocks with extension traits 2024-08-13 13:14:00 +02:00
sign-tx-segwit-v0.rs Introduce scriptPubkey extension traits 2024-07-13 08:43:06 +10:00
sign-tx-taproot.rs Introduce scriptPubkey extension traits 2024-07-13 08:43:06 +10:00
taproot-psbt-simple.rs Use lower case error messages 2024-07-15 09:25:08 +01:00
taproot-psbt.rs Introduce two extensions traits for ScriptBuf 2024-08-20 09:34:34 +10:00