rust/library/core/src/num
许杰友 Jieyou Xu (Joe) 074256988f
Rollup merge of #143130 - xizheyin:142966, r=ibraheemdev
doc(std): clarify `NonZero<T>` usage limitation in doc comment

Closes rust-lang/rust#142966

This PR clarifies `NonZero<T>` usage limitation in doc comment and fixes a typo.

r? libs
2025-07-07 19:45:38 +08:00
..
dec2flt setup CI and tidy to use typos for spellchecking and fix few typos 2025-07-03 10:51:06 +03:00
flt2dec float: Add f16 parsing and printing 2025-05-18 16:43:13 +00:00
shells diagnostic items for legacy numeric constants 2024-02-18 12:08:16 -07:00
bignum.rs Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakis 2025-03-07 19:15:33 +01:00
diy_float.rs Refactor diy_float 2025-03-31 20:15:41 +02:00
error.rs Derive Copy+Hash for IntErrorKind 2024-10-19 19:39:35 +09:00
f16.rs De-duplicate f16 & f128 doctest attributes 2025-06-08 14:51:13 +02:00
f32.rs change tests to use fixed constants to let them pass with miri 2025-06-05 16:22:13 +02:00
f64.rs Always use the pure Rust fallback instead of llvm.{maximum,minimum} 2025-07-03 21:04:18 +02:00
f128.rs De-duplicate f16 & f128 doctest attributes 2025-06-08 14:51:13 +02:00
fmt.rs Fix a bunch of typos 2021-12-14 16:40:43 +01:00
int_log10.rs core: add #![warn(unreachable_pub)] 2025-01-20 18:35:32 +01:00
int_macros.rs integer docs: remove extraneous text 2025-06-20 20:38:29 +02:00
int_sqrt.rs core: add #![warn(unreachable_pub)] 2025-01-20 18:35:32 +01:00
libm.rs Initial implementation of core_float_math 2025-05-13 22:08:18 +00:00
mod.rs integer docs: remove extraneous text 2025-06-20 20:38:29 +02:00
niche_types.rs Make NonZero<char> possible 2025-06-07 11:40:49 +00:00
nonzero.rs doc(std): clarify NonZero<T> usage limitation in doc comment 2025-07-07 14:47:35 +08:00
overflow_panic.rs core: add #![warn(unreachable_pub)] 2025-01-20 18:35:32 +01:00
saturating.rs integer docs: remove extraneous text 2025-06-20 20:38:29 +02:00
uint_macros.rs Rollup merge of #143236 - nxsaken:mixed_integer_ops_unsigned_sub, r=ibraheemdev 2025-07-07 03:26:06 +02:00
wrapping.rs core: add #![warn(unreachable_pub)] 2025-01-20 18:35:32 +01:00