Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2937f6f

Browse files
committed
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.
1 parent 30a6317 commit 2937f6f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

crates/core_simd/src/ops/assign.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! Assignment operators
2+
23
use super::*;
34
use core::ops::{AddAssign, MulAssign}; // commutative binary op-assignment
45
use core::ops::{BitAndAssign, BitOrAssign, BitXorAssign}; // commutative bit binary op-assignment

crates/core_simd/src/ops/deref.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//! Ideally, Rust would take care of this itself,
33
//! and method calls usually handle the LHS implicitly.
44
//! But this is not the case with arithmetic ops.
5+
56
use super::*;
67

78
macro_rules! deref_lhs {

0 commit comments

Comments
 (0)