From 528bc8593ad756239a6ded0443f10af657488559 Mon Sep 17 00:00:00 2001 From: Caleb Zulawski Date: Fri, 15 Apr 2022 13:47:43 -0400 Subject: [PATCH] Improve copysign documentation --- crates/core_simd/src/elements/float.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core_simd/src/elements/float.rs b/crates/core_simd/src/elements/float.rs index fafbd2a4d213..456dd780dac0 100644 --- a/crates/core_simd/src/elements/float.rs +++ b/crates/core_simd/src/elements/float.rs @@ -83,7 +83,7 @@ pub trait SimdFloat: Sized + Sealed { /// Returns each lane with the magnitude of `self` and the sign of `sign`. /// - /// If any lane is a `NAN`, then a `NAN` with the sign of `sign` is returned. + /// For any lane containing a `NAN`, a `NAN` with the sign of `sign` is returned. #[must_use = "method returns a new vector and does not mutate the original value"] fn copysign(self, sign: Self) -> Self;