diff options
| author | Alexis Beingessner <a.beingessner@gmail.com> | 2015-07-27 09:06:00 -0700 |
|---|---|---|
| committer | Alexis Beingessner <a.beingessner@gmail.com> | 2015-07-29 18:43:01 -0700 |
| commit | 3e954a8cb2fd094d79713059d83d37b2daa7b396 (patch) | |
| tree | e09612cbe34258da5081b07862b9c9b25f102de3 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | ba324694d6116cb0a9a73e29acb043d251a1e6f5 (diff) | |
| download | rust-3e954a8cb2fd094d79713059d83d37b2daa7b396.tar.gz rust-3e954a8cb2fd094d79713059d83d37b2daa7b396.zip | |
implement Clone for Box<str>, closes #27323
This is a minor [breaking-change], as it changes what `boxed_str.to_owned()` does (previously it would deref to `&str` and call `to_owned` on that to get a `String`). However `Box<str>` is such an exceptionally rare type that this is not expected to be a serious concern. Also a `Box<str>` can be freely converted to a `String` to obtain the previous behaviour anyway.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
