Skip to content

Commit ce04c93

Browse files
committed
Fixup docs on vectorize
1 parent f4b835b commit ce04c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fearless_simd_core/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ pub unsafe trait TargetFeatureToken: Copy {
9494
///
9595
/// `f` must be marked `#[inline(always)]` for this to work.
9696
///
97-
/// Note that this does *not* enable the target features on the Rust side (e.g. for calling).
97+
/// Note that this does *not* enable the target features on the Rust side (i.e. for calling intrinsics safely).
9898
/// To do so, you should instead use [`trampoline!`] directly - this is a convenience wrapper around `trampoline`
99-
/// for cases where the dispatch of simd values is handled elsewhere.
99+
/// for cases where either autovectorisation is sufficient, or dispatch to simd intrinsics is handled elsewhere.
100100
fn vectorize<R>(self, f: impl FnOnce() -> R) -> R;
101101
}
102102

0 commit comments

Comments
 (0)