1
Fork 0
rust/library/core/src
Michael Goulet 5117dc7a5b
Rollup merge of #119657 - cls:slice_split_once-typo, r=ChrisDenton
Fix typo in docs for slice::split_once, slice::rsplit_once

This fixes a typo in the doc comments for these methods, which I tripped over while reading the docs: "If any matching elements are **resent** in the slice [...]", which is presumably meant to read **present**.

I mentioned this in #112811, the tracking issue for `slice_split_once`, and was encouraged to open a PR.
2024-01-06 21:51:46 -05:00
..
alloc Indicate that multiplication in Layout::array cannot overflow 2023-11-23 22:05:45 -05:00
array remove redundant imports 2023-12-10 10:56:22 +08:00
ascii fix Debug impl for AsciiChar 2023-09-01 12:29:40 +01:00
async_iter Rollup merge of #119222 - eholk:into-async-iterator, r=compiler-errors,dtolnay 2023-12-22 21:41:04 -05:00
cell Add some optimizations 2023-10-13 14:54:33 +02:00
char remove redundant imports 2023-12-10 10:56:22 +08:00
cmp Merge two different equality specialization traits in core 2023-03-01 14:42:06 -08:00
convert remove redundant imports 2023-12-10 10:56:22 +08:00
ffi Update c_str.rs 2023-12-14 19:05:03 -05:00
fmt Remove dead codes in core 2023-12-12 07:03:37 +00:00
future Replace some usage of #[rustc_on_unimplemented] with 2024-01-05 15:23:09 +01:00
hash Add insta-stable std:#️⃣:{DefaultHasher, RandomState} exports 2023-11-02 20:35:20 -04:00
intrinsics library: Add allow(unused_assignments) to custom MIR doctest 2024-01-05 19:13:51 +03:00
io Move BorrowedBuf and BorrowedCursor from std:io to core::io 2023-11-09 07:10:11 +09:00
iter Fix #119551: Rewrite Iterator::position default impl, storing the accumulating value outside of the fold in an attempt to improve code generation 2024-01-05 16:35:44 +01:00
macros merge core_panic feature into panic_internals 2023-12-09 14:49:00 +01:00
mem Make offset_of field parsing use metavariable which handles any spacing 2024-01-02 22:18:35 +00:00
net fix typo 2023-12-28 19:05:13 +01:00
num Rollup merge of #118397 - Zalathar:nonzero, r=WaffleLapkin 2023-11-28 09:28:39 +01:00
ops Replace some usage of #[rustc_on_unimplemented] with 2024-01-05 15:23:09 +01:00
panic Replace some usage of #[rustc_on_unimplemented] with 2024-01-05 15:23:09 +01:00
prelude Revert "Remove #[alloc_error_handler] from the compiler and library" 2023-04-25 00:08:35 +02:00
ptr update cfg(bootstrap)s 2023-12-22 11:14:11 +01:00
slice Fix typo in docs for slice::split_once, slice::rsplit_once 2024-01-06 11:51:39 +00:00
str Rollup merge of #118523 - okaneco:trim_ascii, r=Mark-Simulacrum 2023-12-15 21:32:57 -08:00
sync Substitute version placeholders 2023-11-15 19:40:51 -05:00
task fix waker_getters tracking issue number 2023-12-12 14:38:13 +01:00
unicode Apply changes to fix python linting errors 2023-06-16 20:56:01 -04:00
any.rs update version placeholders 2023-12-22 11:01:42 +01:00
arch.rs use visibility to check unused imports and delete some stmts 2023-10-22 21:27:46 +08:00
ascii.rs ascii::Char-ify the escaping code 2023-05-12 19:37:02 -07:00
asserting.rs
bool.rs core is now compilable 2023-04-16 07:20:26 +00:00
borrow.rs doc: replace wrong punctuation mark 2023-07-28 14:46:17 +02:00
cell.rs Use OnceCell in cell module documentation 2023-11-29 17:42:44 +01:00
clone.rs remove redundant imports 2023-12-10 10:56:22 +08:00
cmp.rs update cfg(bootstrap)s 2023-12-22 11:14:11 +01:00
default.rs Add more diagnostic items for clippy 2023-10-05 18:21:47 -04:00
error.md Fix minor grammar typo 2023-09-06 09:47:22 -07:00
error.rs Documentation cleanup for core::error::Request. 2023-11-06 11:38:27 +01:00
escape.rs Re-format code with new rustfmt 2023-11-15 21:45:48 -05:00
hint.rs Fixed ambiguity in hint.rs 2024-01-04 15:48:22 -08:00
internal_macros.rs add track_caller for arith ops 2023-11-24 00:54:06 +08:00
intrinsics.rs document rounding behavior of rint/nearbyint for ties 2024-01-06 12:58:15 +01:00
lib.rs Rollup merge of #118781 - RalfJung:core-panic-feature, r=the8472 2024-01-06 16:07:46 +01:00
marker.rs Replace some usage of #[rustc_on_unimplemented] with 2024-01-05 15:23:09 +01:00
option.rs update version placeholders 2023-12-22 11:01:42 +01:00
panic.rs merge core_panic feature into panic_internals 2023-12-09 14:49:00 +01:00
panicking.rs merge core_panic feature into panic_internals 2023-12-09 14:49:00 +01:00
pin.rs remove redundant imports 2023-12-10 10:56:22 +08:00
primitive.rs
primitive_docs.rs Primitive docs: fix confusing Send in &T's list 2023-12-29 22:26:23 +01:00
result.rs update version placeholders 2023-12-22 11:01:42 +01:00
time.rs Add Duration::abs_diff 2023-11-05 19:45:17 +01:00
tuple.rs update cfg(bootstrap)s 2023-12-22 11:14:11 +01:00
unit.rs