rust/library/core
Dylan DPC 2ec6aebb41
Rollup merge of #107961 - scottmcm:unify-ilog-panics, r=Mark-Simulacrum
Avoid copy-pasting the `ilog` panic string in a bunch of places

I also ended up changing the implementations to `if let` because it doesn't work to
```rust
self.checked_ilog2().unwrap_or_else(panic_for_nonpositive_argument)
```
due to the `!`.  But as a bonus that meant I could remove the `rustc_allow_const_fn_unstable` too.
2023-02-13 11:12:50 +05:30
..
benches Add array::map benchmarks 2023-02-11 04:23:53 +00:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of #107961 - scottmcm:unify-ilog-panics, r=Mark-Simulacrum 2023-02-13 11:12:50 +05:30
tests Rollup merge of #107954 - RalfJung:tree-borrows-fix, r=m-ou-se 2023-02-12 22:29:49 +01:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00