rust/library/core/src
bors 0599b6b931 Auto merge of #109483 - joboet:optimize_lazycell, r=Mark-Simulacrum
Optimize `LazyCell` size

`LazyCell` can only store either the initializing function or the data it produces, so it does not need to reserve the space for both. Similar to #107329, but uses an `enum` instead of a `union`.
2023-04-01 20:11:49 +00:00
..
alloc Auto merge of #105096 - LegionMammal978:copied-allocators, r=Amanieu 2023-03-26 01:21:12 +00:00
array replace advance_by returning usize with Result<(), NonZeroUsize> 2023-03-27 16:03:14 +02:00
async_iter use consistent terminology 2022-10-29 09:23:12 +02:00
cell fix typo and adjust comment 2023-03-30 14:49:43 +02:00
char Auto merge of #105671 - lukas-code:depreciate-char, r=scottmcm 2023-02-12 11:09:06 +00:00
cmp Merge two different equality specialization traits in core 2023-03-01 14:42:06 -08:00
convert Add #[inline] to the Into for From impl 2023-03-24 15:06:31 -04:00
ffi Add #[inline] to CStr trait implementations 2023-03-28 01:09:31 +01:00
fmt Auto merge of #108862 - Mark-Simulacrum:bootstrap-bump, r=pietroalbini 2023-03-17 19:00:38 +00:00
future Remove identity_future indirection 2023-03-08 15:37:14 +01:00
hash Rollup merge of #109287 - scottmcm:hash-slice-size-of-val, r=oli-obk 2023-03-18 12:04:24 +01:00
intrinsics Auto merge of #108442 - scottmcm:mir-transmute, r=oli-obk 2023-03-23 18:43:04 +00:00
iter update documentation 2023-03-27 16:03:30 +02:00
macros Use Edition 2021 :pat in matches macro 2023-03-06 21:21:06 +01:00
mem stage-step cfgs 2023-01-30 13:09:09 -05:00
net Bump version placeholders 2023-03-15 08:55:22 -04:00
num Fix ASCII case comment 2023-03-27 16:06:54 +01:00
ops replace advance_by returning usize with Result<(), NonZeroUsize> 2023-03-27 16:03:14 +02:00
panic Replace libstd, libcore, liballoc in line comments. 2022-12-30 14:00:42 +01:00
prelude Replace libstd, libcore, liballoc in docs. 2022-12-30 14:00:40 +01:00
ptr Auto merge of #108080 - oli-obk:FnPtr-trait, r=lcnr 2023-03-28 12:50:01 +00:00
slice Rollup merge of #106985 - jofas:106746-fix, r=ChrisDenton 2023-03-30 21:06:59 +09:00
str add comment to impl !Error for &str 2023-03-30 22:19:28 +02:00
sync Bump to latest beta 2023-03-15 08:55:22 -04:00
task Inline Poll methods 2023-02-13 14:17:45 +08:00
unicode Use hex literal for INDEX_MASK 2023-03-21 09:59:47 +01:00
any.rs Match unmatched backticks in library/ 2023-03-03 03:03:29 +01:00
arch.rs move core::arch into separate file 2022-11-20 10:28:14 +01:00
ascii.rs
asserting.rs
bool.rs Add missing assertion 2022-09-22 02:12:06 -04:00
borrow.rs Minor grammar nit. 2022-12-12 16:22:01 -07:00
cell.rs Em dashes are cooler than hyphens. 2023-03-29 18:04:44 -04:00
clone.rs Make some trivial functions #[inline(always)] 2022-12-07 17:11:17 +01:00
cmp.rs Merge two different equality specialization traits in core 2023-03-01 14:42:06 -08:00
default.rs cfg-step code 2022-11-06 17:21:21 -05:00
error.md Small round of typo fixes 2022-11-04 20:06:18 -07:00
error.rs Bump to latest beta 2023-03-15 08:55:22 -04:00
hint.rs Correct typo (back_box -> black_box) 2023-03-25 19:57:46 -04:00
internal_macros.rs
intrinsics.rs move Option::as_slice to intrinsic 2023-03-18 07:15:15 +01:00
lib.rs Add #![feature(generic_arg_infer)] to core for stdarch 2023-03-19 21:08:56 +00:00
marker.rs Use the FnPtr trait to avoid implementing common traits via macros 2023-03-27 12:19:52 +00:00
option.rs Auto merge of #108095 - soc:drop-contains, r=Amanieu 2023-03-28 23:20:30 +00:00
panic.rs Replace libstd, libcore, liballoc in docs. 2022-12-30 14:00:40 +01:00
panicking.rs Auto merge of #98112 - saethlin:mir-alignment-checks, r=oli-obk 2023-03-31 08:50:35 +00:00
pin.rs Beautify pin! docs 2023-03-16 18:03:23 +01:00
primitive_docs.rs Replace doc(primitive) with rustc_doc_primitive 2023-03-30 22:56:52 +02:00
primitive.rs
result.rs Auto merge of #108095 - soc:drop-contains, r=Amanieu 2023-03-28 23:20:30 +00:00
time.rs Bump version placeholders to release 2022-11-06 17:11:02 -05:00
tuple.rs Use partial_cmp to implement tuple lt/le/ge/gt 2023-02-16 23:59:13 -08:00
unit.rs