What changed, and why it matters
This commit only updates generated text files that list the public API surface of the `bitcoin_internals` crate. The removed lines describe a simple helper trait (`ToU64`) and its implementations for unsigned integer types. There is no code change, no bug fix, and no security relevance visible in the diff.
No security action needed. Treat as routine maintenance of API-snapshot files.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates three internals/api/*.txt files, which are rustdoc public-API snapshots used to track exported symbols. They remove entries for bitcoin_internals::ToU64, its to_u64 method, and implementations for u8, u16, u32, u64, usize. These files are not executable code; they are generated API manifests. The change indicates the trait is no longer part of the public API, but the commit itself does not modify source code or behavior.
Changed components
internals/api/all-features.txtinternals/api/alloc-only.txtinternals/api/no-features.txtInspect captured patch +3 / −39
diff --git a/internals/api/all-features.txt b/internals/api/all-features.txt
index 0433d406..ce4e00b7 100644
--- a/internals/api/all-features.txt
+++ b/internals/api/all-features.txt
@@ -331,16 +331,4 @@ pub macro bitcoin_internals::serde_string_deserialize_impl!
pub macro bitcoin_internals::serde_string_impl!
pub macro bitcoin_internals::serde_string_serialize_impl!
pub macro bitcoin_internals::transparent_newtype!
-pub macro bitcoin_internals::write_err!
-pub trait bitcoin_internals::ToU64
-pub fn bitcoin_internals::ToU64::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u16
-pub fn u16::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u32
-pub fn u32::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u64
-pub fn u64::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u8
-pub fn u8::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for usize
-pub fn usize::to_u64(self) -> u64
\ No newline at end of file
+pub macro bitcoin_internals::write_err!
\ No newline at end of file
diff --git a/internals/api/alloc-only.txt b/internals/api/alloc-only.txt
index c1d398ee..ac9682d3 100644
--- a/internals/api/alloc-only.txt
+++ b/internals/api/alloc-only.txt
@@ -318,16 +318,4 @@ pub macro bitcoin_internals::impl_to_hex_from_lower_hex!
pub macro bitcoin_internals::parse_error_type!
pub macro bitcoin_internals::rust_version!
pub macro bitcoin_internals::transparent_newtype!
-pub macro bitcoin_internals::write_err!
-pub trait bitcoin_internals::ToU64
-pub fn bitcoin_internals::ToU64::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u16
-pub fn u16::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u32
-pub fn u32::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u64
-pub fn u64::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u8
-pub fn u8::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for usize
-pub fn usize::to_u64(self) -> u64
\ No newline at end of file
+pub macro bitcoin_internals::write_err!
\ No newline at end of file
diff --git a/internals/api/no-features.txt b/internals/api/no-features.txt
index 701f24be..e1e9c9c1 100644
--- a/internals/api/no-features.txt
+++ b/internals/api/no-features.txt
@@ -292,16 +292,4 @@ pub macro bitcoin_internals::impl_to_hex_from_lower_hex!
pub macro bitcoin_internals::parse_error_type!
pub macro bitcoin_internals::rust_version!
pub macro bitcoin_internals::transparent_newtype!
-pub macro bitcoin_internals::write_err!
-pub trait bitcoin_internals::ToU64
-pub fn bitcoin_internals::ToU64::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u16
-pub fn u16::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u32
-pub fn u32::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u64
-pub fn u64::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for u8
-pub fn u8::to_u64(self) -> u64
-impl bitcoin_internals::ToU64 for usize
-pub fn usize::to_u64(self) -> u64
\ No newline at end of file
+pub macro bitcoin_internals::write_err!
\ No newline at end of file
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.