rust/library/core/tests
Matthias Krüger 767ae2b33d
Rollup merge of #128001 - Krappa322:master, r=scottmcm
Improve documentation for <integer>::from_str_radix

Two improvements to the documentation:
- Document `-` as a valid character for signed integer destinations
- Make the documentation even more clear that extra whitespace and non-digit characters is invalid. Many other languages, e.g. c++, are very permissive in string to integer routines and simply try to consume as much as they can, ignoring the rest. This is trying to make the transition for developers who are used to the conversion semantics in these languages a bit easier.
2024-09-19 20:37:06 +02:00
..
async_iter
ffi CStr: derive PartialEq, Eq; add test for Ord 2024-07-25 14:18:40 +03:00
fmt Implement debug_more_non_exhaustive 2024-07-21 12:05:02 -05:00
hash add FIXME(const-hack) 2024-09-08 23:08:40 +02:00
io
iter RepeatN: use MaybeUninit 2024-09-09 19:30:48 +08:00
net Reformat use declarations. 2024-07-29 08:26:52 +10:00
num Improve documentation for <integer>::from_str_radix 2024-08-31 14:23:08 +02:00
ops Explicitly specify type parameter on FromResidual impls in stdlib. 2024-08-12 12:54:18 -05:00
panic
alloc.rs
any.rs
array.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ascii_char.rs core: optimise Debug impl for ascii::Char 2024-08-09 22:50:57 +02:00
ascii.rs
asserting.rs
atomic.rs
bool.rs
cell.rs
char.rs
clone.rs impl CloneToUninit for str and CStr 2024-07-29 20:33:11 +03:00
cmp.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
const_ptr.rs
convert.rs
error.rs
ffi.rs CStr: derive PartialEq, Eq; add test for Ord 2024-07-25 14:18:40 +03:00
future.rs Avoid ref when using format! for perf 2024-07-19 12:23:49 -04:00
intrinsics.rs
lazy.rs Implement ACP 429: add Lazy{Cell,Lock}::get[_mut] and force_mut 2024-09-17 09:40:34 -07:00
lib.rs remove feature attributes as const_maybe_uninit_as_mut_ptr is stabilized 2024-09-18 20:22:10 -07:00
macros.rs
manually_drop.rs
mem.rs fix UB in a test 2024-09-09 16:17:34 +02:00
nonzero.rs
ops.rs Explicitly specify type parameter on FromResidual impls in stdlib. 2024-08-12 12:54:18 -05:00
option.rs Make Option::as_[mut_]slice const 2024-06-19 21:44:47 +01:00
panic.rs
pattern.rs
pin_macro.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
pin.rs PinCoerceUnsized trait into core 2024-07-31 17:10:55 +08:00
ptr.rs ignore some vtable/fn ptr equality tests in Miri, their result is not fully predictable 2024-08-12 10:39:11 +02:00
result.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
simd.rs
slice.rs Rewrite binary search implementation 2024-07-30 17:07:56 +01:00
str_lossy.rs
str.rs
task.rs
time.rs
tuple.rs
unicode.rs
waker.rs Move the data and vtable methods from RawWaker to Waker 2024-09-02 18:51:26 -06:00