Merge rust-bitcoin/rust-bitcoin#7013: Manual weekly update to rustc (to nightly-2026-10-03) on master
What changed, and why it matters
This commit is a routine weekly update of the Rust compiler version used by the project, plus three tiny documentation fixes that add correct backtick formatting around type names. There is no change to program logic, no bug fix, and no security relevance.
No security action needed; this is a routine maintenance merge.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The merge updates the pinned nightly Rust toolchain from nightly-2026-09-26 to nightly-2026-10-03 in Cargo.toml and fixes three doc-comment lint warnings by replacing escaped literal strings ("TapSighash", "TapLeaf", "TapTweak") with rustdoc intra-doc links ([TapSighashTag], etc.) and backtick-quoting SHA256t. No executable code, API behavior, or cryptographic logic is modified.
Changed components
Cargo.toml (workspace toolchain metadata)bitcoin/src/crypto/sighash.rs (doc comment only)hashes/tests/api.rs (doc comment only)taproot_primitives/src/lib.rs (doc comments only)Inspect captured patch +5 / −5
### Cargo.toml
@@ -5,7 +5,7 @@ resolver = "2"
[workspace.metadata]
rbmt.version = "0.5.3"
-rbmt.toolchains.nightly = "nightly-2026-09-26"
+rbmt.toolchains.nightly = "nightly-2026-10-03"
rbmt.toolchains.stable = "1.99.0"
[workspace.dependencies]
### bitcoin/src/crypto/sighash.rs
@@ -113,7 +113,7 @@ impl sha256t::Tag for TapSighashTag {
}
hash_newtype! {
- /// Taproot-tagged hash with tag \"TapSighash\".
+ /// Taproot-tagged hash with tag [`TapSighashTag`].
///
/// This hash type is used for computing Taproot signature hash.
pub struct TapSighash(sha256t::Hash<TapSighashTag>);
### hashes/tests/api.rs
@@ -35,7 +35,7 @@ sha256t_tag! {
struct Tag = raw(TEST_MIDSTATE, 64);
}
hash_newtype! {
- /// A concrete SHA256t hash type so we don't have to use generics.
+ /// A concrete `SHA256t` hash type so we don't have to use generics.
#[derive(Debug)]
struct TaggedHash(sha256t::Hash<Tag>);
}
### taproot_primitives/src/lib.rs
@@ -76,7 +76,7 @@ impl sha256t::Tag for TapLeafTag {
}
hash_newtype! {
- /// Taproot-tagged hash with tag \"TapLeaf\".
+ /// Taproot-tagged hash with tag [`TapLeafTag`].
///
/// This is used for computing tapscript script spend hash.
pub struct TapLeafHash(sha256t::Hash<TapLeafTag>);
@@ -152,7 +152,7 @@ impl sha256t::Tag for TapTweakTag {
}
hash_newtype! {
- /// Taproot-tagged hash with tag \"TapTweak\".
+ /// Taproot-tagged hash with tag [`TapTweakTag`].
///
/// This hash type is used while computing the tweaked public key.
pub struct TapTweakHash(sha256t::Hash<TapTweakTag>);Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.