rust/library/alloc
Dylan DPC 47fe1a3e1f
Rollup merge of #111609 - LegionMammal978:internal-unsafe, r=thomcc
Mark internal functions and traits unsafe to reflect preconditions

No semantics are changed in this PR; I only mark some functions and and a trait `unsafe` which already had implicit preconditions. Although it seems somewhat redundant for `numfmt::Part::Copy` to contain a `&[u8]` instead of a `&str`, given that all of its current consumers ultimately expect valid UTF-8. Is the type also intended to work for byte-slice formatting in the future?
2023-05-23 00:32:18 +05:30
..
benches remove some unneeded imports 2023-04-12 19:27:18 +02:00
src Rollup merge of #111609 - LegionMammal978:internal-unsafe, r=thomcc 2023-05-23 00:32:18 +05:30
tests Rollup merge of #110419 - jsoref:spelling-library, r=jyn514 2023-04-26 18:51:41 +02:00
Cargo.toml Revert "Report allocation errors as panics" 2023-04-25 00:08:37 +02:00