diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2022-09-14 22:41:37 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2022-09-17 14:15:37 -0700 |
| commit | 4d3a31caf08fb4591ce2eaa0c83474d2346d0a23 (patch) | |
| tree | 42d7f4c452b6822b487f459079bb77f3c2b7e510 /src/librustdoc/html/static/js/source-script.js | |
| parent | addacb5878b9970ebc1665768a05cb601e7aea15 (diff) | |
| download | rust-4d3a31caf08fb4591ce2eaa0c83474d2346d0a23.tar.gz rust-4d3a31caf08fb4591ce2eaa0c83474d2346d0a23.zip | |
Add `Box<[T; N]>: TryFrom<Vec<T>>`
We have `[T; N]: TryFrom<Vec<T>>` and `Box<[T; N]>: TryFrom<Box<[T]>>`, but not the combination. `vec.into_boxed_slice().try_into()` isn't quite a replacement for this, as that'll reallocate unnecessarily in the error case. **Insta-stable, so needs an FCP**
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions
