Skip to content

Commit 7a7188c

Browse files
committed
fix line break in code snippet in docs
1 parent bf69d52 commit 7a7188c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@
125125
//! resulting vector contains the elements of `a` for those lanes for which the
126126
//! mask is `true`, and the elements of `b` otherwise.
127127
//!
128-
//! The example constructs a mask with the first two lanes set to `true` and
129-
//! the last two lanes set to `false`. This selects the first two lanes of `a
130-
//! + 1` and the last two lanes of `a`, producing a vector where the first two
131-
//! lanes have been incremented by `1`.
128+
//! The example constructs a mask with the first two lanes set to `true` and the
129+
//! last two lanes set to `false`. This selects the first two lanes of `a + 1`
130+
//! and the last two lanes of `a`, producing a vector where the first two lanes
131+
//! have been incremented by `1`.
132132
//!
133133
//! > note: mask `select` can be used on vector types that have the same number
134134
//! > of lanes as the mask. The example shows this by using [`m16x4`] instead

0 commit comments

Comments
 (0)