about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacob Lifshay <programmerjake@gmail.com>2024-10-05 22:01:02 -0700
committerGitHub <noreply@github.com>2024-10-05 22:01:02 -0700
commit002afd1ae9c646d4120cc8e078bb329de8b3ecac (patch)
tree4555c5c12e95a5d8fc1851ecf675c2f60d05ef9d
parent85e2f55d8291e643b5b4c98ee09db301379d63a6 (diff)
downloadrust-002afd1ae9c646d4120cc8e078bb329de8b3ecac.tar.gz
rust-002afd1ae9c646d4120cc8e078bb329de8b3ecac.zip
Fix typo in primitive_docs.rs
-rw-r--r--library/core/src/primitive_docs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/primitive_docs.rs b/library/core/src/primitive_docs.rs
index 962da6643dd..c25501f1200 100644
--- a/library/core/src/primitive_docs.rs
+++ b/library/core/src/primitive_docs.rs
@@ -1251,7 +1251,7 @@ mod prim_f16 {}
 ///   - **Unchanged NaN propagation**: The quiet bit and payload are copied from any input operand
 ///     that is a NaN. If the inputs and outputs do not have the same size (i.e., for `as` casts), the
 ///     same rules as for "quieting NaN propagation" apply, with one caveat: if the output is smaller
-///     than the input, droppig the low-order bits may result in a payload of 0; a payload of 0 is not
+///     than the input, dropping the low-order bits may result in a payload of 0; a payload of 0 is not
 ///     possible with a signaling NaN (the all-0 significand encodes an infinity) so unchanged NaN
 ///     propagation cannot occur with some inputs.
 ///   - **Target-specific NaN**: The quiet bit is set and the payload is picked from a target-specific