Remove blank line between attribute and function
What changed, and why it matters
This commit removes a single blank line between a Rust test attribute (#[test]) and the test function it decorates. It is a cosmetic/style-only change with no functional or security effect.
No action required; this is a non-security style cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff deletes one blank line in primitives/src/witness.rs between #[test] and fn witness_single_empty_element(). In Rust, whitespace between an attribute and its item is irrelevant to compilation and behavior. No code logic, types, visibility, or safety properties changed.
Changed components
primitives/src/witness.rsInspect captured patch +0 / −1
diff --git a/primitives/src/witness.rs b/primitives/src/witness.rs
index 10fc462d..358c4700 100644
--- a/primitives/src/witness.rs
+++ b/primitives/src/witness.rs
@@ -846,7 +846,6 @@ mod test {
fn single_empty_element() -> Witness { Witness::from([[0u8; 0]]) }
#[test]
-
fn witness_single_empty_element() {
let mut got = Witness::new();
got.push([]);
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.