Skip to content

Commit 30a6317

Browse files
committed
Convert some module-level // and /// comments to //!.
This makes their intent and expected location clearer. We see some examples where these comments were not clearly separate from `use` declarations, which made it hard to understand what the comment is describing.
1 parent 4da8687 commit 30a6317

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

crates/core_simd/examples/dot_product.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// Code taken from the `packed_simd` crate
2-
// Run this code with `cargo test --example dot_product`
3-
//use std::iter::zip;
1+
//! Code taken from the `packed_simd` crate.
2+
//! Run this code with `cargo test --example dot_product`.
43
54
#![feature(array_chunks)]
65
#![feature(slice_as_chunks)]

0 commit comments

Comments
 (0)