Files
rust/library/core/src
Matthias Krüger 270c800d35 Rollup merge of #90117 - calebsander:fix/rsplit-clone, r=yaahc
Make RSplit<T, P>: Clone not require T: Clone

This addresses a TODO comment. The behavior of `#[derive(Clone)]` *does* result in a `T: Clone` requirement. Playground example:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=a8b1a9581ff8893baf401d624a53d35b

Add a manual `Clone` implementation, mirroring `Split` and `SplitInclusive`.
`(R)?SplitN(Mut)?` don't have any `Clone` implementations, but I'll leave that for its own pull request.
2021-10-23 05:28:26 +02:00
..
2021-10-18 19:19:28 +09:00
2021-09-15 03:06:53 +00:00
2021-10-19 15:02:21 +01:00
2021-10-18 19:19:28 +09:00
2021-09-25 20:04:35 +02:00
2021-10-18 19:19:28 +09:00
2021-09-12 02:23:08 +00:00
2021-03-03 11:23:29 +01:00
2021-10-18 19:19:28 +09:00
2021-10-03 20:59:54 -07:00
2021-08-17 07:15:54 +00:00
2021-04-21 14:38:24 +02:00
2021-10-18 19:19:28 +09:00
2021-10-11 20:52:36 +01:00
2021-10-18 19:19:28 +09:00
2021-10-19 15:02:21 +01:00
2020-07-27 19:51:13 -05:00
2021-10-17 18:39:54 +09:00
2020-07-27 19:51:13 -05:00
2020-07-27 19:51:13 -05:00