chore: add the missing spaces in the comments
What changed, and why it matters
This commit only fixes typos in code comments by adding a missing space inside 11 files. No program logic, security settings, or behavior changed.
No action needed; this is a cosmetic documentation cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is a whitespace-only change in comments attached to #![allow(clippy::uninlined_format_args)] attributes. It inserts a single space between format!("{}", x) and instead across multiple crate root files and test files. No executable code, compiler directives, or configuration values were modified.
Changed components
Inspect captured patch +11 / −11
diff --git a/addresses/src/lib.rs b/addresses/src/lib.rs
index 6dae7b0b..3a4d091b 100644
--- a/addresses/src/lib.rs
+++ b/addresses/src/lib.rs
@@ -21,7 +21,7 @@
// Exclude lints we don't think are valuable.
#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
extern crate alloc;
diff --git a/base58/src/lib.rs b/base58/src/lib.rs
index 82c34805..4db48132 100644
--- a/base58/src/lib.rs
+++ b/base58/src/lib.rs
@@ -21,7 +21,7 @@
#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
#![allow(clippy::incompatible_msrv)] // Has FPs and we're testing it which is more reliable anyway.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
extern crate alloc;
diff --git a/bitcoin/src/lib.rs b/bitcoin/src/lib.rs
index 93c6529c..20f75a01 100644
--- a/bitcoin/src/lib.rs
+++ b/bitcoin/src/lib.rs
@@ -37,7 +37,7 @@
#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
#![allow(clippy::incompatible_msrv)] // Has FPs and we're testing it which is more reliable anyway.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
// We only support machines with index size of 4 bytes or more.
//
diff --git a/hashes/src/lib.rs b/hashes/src/lib.rs
index 167dc71c..a387f482 100644
--- a/hashes/src/lib.rs
+++ b/hashes/src/lib.rs
@@ -64,7 +64,7 @@
// Exclude lints we don't think are valuable.
#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
#[cfg(feature = "alloc")]
extern crate alloc;
diff --git a/hashes/tests/api.rs b/hashes/tests/api.rs
index 526aeb69..2b8eed60 100644
--- a/hashes/tests/api.rs
+++ b/hashes/tests/api.rs
@@ -9,7 +9,7 @@
#![allow(dead_code)]
#![allow(unused_imports)]
// Exclude lints we don't think are valuable.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
// Import using module style e.g., `sha256::Hash`.
use bitcoin_hashes::{
diff --git a/hashes/tests/regression.rs b/hashes/tests/regression.rs
index eb511e31..716bf3d3 100644
--- a/hashes/tests/regression.rs
+++ b/hashes/tests/regression.rs
@@ -6,7 +6,7 @@
#![cfg(feature = "hex")]
// Exclude lints we don't think are valuable.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
use bitcoin_hashes::{
hash160, ripemd160, sha1, sha256, sha256d, sha256t, sha384, sha3_256, sha512, sha512_256,
diff --git a/internals/build.rs b/internals/build.rs
index a8407015..635e6000 100644
--- a/internals/build.rs
+++ b/internals/build.rs
@@ -1,5 +1,5 @@
// Exclude lints we don't think are valuable.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
const MAX_USED_VERSION: u64 = 80;
diff --git a/internals/src/lib.rs b/internals/src/lib.rs
index fa503bcd..e8a8a14b 100644
--- a/internals/src/lib.rs
+++ b/internals/src/lib.rs
@@ -15,7 +15,7 @@
// Exclude lints we don't think are valuable.
#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
#[cfg(feature = "alloc")]
extern crate alloc;
diff --git a/io/src/lib.rs b/io/src/lib.rs
index b5e985b9..bc0a4203 100644
--- a/io/src/lib.rs
+++ b/io/src/lib.rs
@@ -24,7 +24,7 @@
// Exclude lints we don't think are valuable.
#![allow(clippy::needless_question_mark)] // https://github.com/rust-bitcoin/rust-bitcoin/pull/2134
#![allow(clippy::manual_range_contains)] // More readable than clippy's format.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
#[cfg(feature = "alloc")]
extern crate alloc;
diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs
index 589b3d39..325ea5f4 100644
--- a/primitives/src/lib.rs
+++ b/primitives/src/lib.rs
@@ -20,7 +20,7 @@
#![warn(deprecated_in_future)]
#![doc(test(attr(warn(unused))))]
// Exclude lints we don't think are valuable.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
#[cfg(feature = "alloc")]
extern crate alloc;
diff --git a/units/src/lib.rs b/units/src/lib.rs
index 0715e606..e191c8d8 100644
--- a/units/src/lib.rs
+++ b/units/src/lib.rs
@@ -26,7 +26,7 @@
#![warn(deprecated_in_future)]
#![doc(test(attr(warn(unused))))]
// Exclude lints we don't think are valuable.
-#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)`instead of enforcing `format!("{x}")`
+#![allow(clippy::uninlined_format_args)] // Allow `format!("{}", x)` instead of enforcing `format!("{x}")`
#[cfg(feature = "alloc")]
extern crate alloc;
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.