diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-02-05 19:09:38 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-05 19:09:38 +0800 |
| commit | fd4623bdcc9fb853ab432b70e319d6e6409a3976 (patch) | |
| tree | baa1d7e283de1f29bb2849db6ee299f9bf07a2cf /compiler/rustc_next_trait_solver/src | |
| parent | f30ce21602ce044f4d79c36cbc91352530377303 (diff) | |
| parent | 836a989820aa82a7bb35c9fba670ab733406a84f (diff) | |
| download | rust-fd4623bdcc9fb853ab432b70e319d6e6409a3976.tar.gz rust-fd4623bdcc9fb853ab432b70e319d6e6409a3976.zip | |
Rollup merge of #136555 - cramertj:split_off, r=dtolnay
Rename `slice::take...` methods to `split_off...` This rename was discussed and recommended in a recent t-libs meeting. cc https://github.com/rust-lang/rust/issues/62280 There's an additional commit here which modifies internals of unstable `OneSidedRange` APIs in order to implement `split_off` methods in a panic-free way (remove `unreachable!()`) as recommended in https://github.com/rust-lang/rust/pull/88502/files#r760177240. I can split this out into a separate PR if needed.
Diffstat (limited to 'compiler/rustc_next_trait_solver/src')
0 files changed, 0 insertions, 0 deletions
