about summary refs log tree commit diff
path: root/library/portable-simd
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-06-20 05:04:30 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-06-20 09:23:20 +1000
commit665821cb606076bcf159c47e3e8e72a14fa512e3 (patch)
treedb964362cf069b4524672435bc689844377ff0c8 /library/portable-simd
parent09006d6a88019b80f7158f1a5f754a358751d7f1 (diff)
downloadrust-665821cb606076bcf159c47e3e8e72a14fa512e3.tar.gz
rust-665821cb606076bcf159c47e3e8e72a14fa512e3.zip
Add blank lines after module-level `//!` comments.
Most modules have such a blank line, but some don't. Inserting the blank
line makes it clearer that the `//!` comments are describing the entire
module, rather than the `use` declaration(s) that immediately follows.
Diffstat (limited to 'library/portable-simd')
-rw-r--r--library/portable-simd/crates/core_simd/src/ops/assign.rs1
-rw-r--r--library/portable-simd/crates/core_simd/src/ops/deref.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/library/portable-simd/crates/core_simd/src/ops/assign.rs b/library/portable-simd/crates/core_simd/src/ops/assign.rs
index 0e87785025a..d21d867de26 100644
--- a/library/portable-simd/crates/core_simd/src/ops/assign.rs
+++ b/library/portable-simd/crates/core_simd/src/ops/assign.rs
@@ -1,4 +1,5 @@
 //! Assignment operators
+
 use super::*;
 use core::ops::{AddAssign, MulAssign}; // commutative binary op-assignment
 use core::ops::{BitAndAssign, BitOrAssign, BitXorAssign}; // commutative bit binary op-assignment
diff --git a/library/portable-simd/crates/core_simd/src/ops/deref.rs b/library/portable-simd/crates/core_simd/src/ops/deref.rs
index 89a60ba1141..0ff76cfba39 100644
--- a/library/portable-simd/crates/core_simd/src/ops/deref.rs
+++ b/library/portable-simd/crates/core_simd/src/ops/deref.rs
@@ -2,6 +2,7 @@
 //! Ideally, Rust would take care of this itself,
 //! and method calls usually handle the LHS implicitly.
 //! But this is not the case with arithmetic ops.
+
 use super::*;
 
 macro_rules! deref_lhs {