about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2022-09-14 22:41:37 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2022-09-17 14:15:37 -0700
commit4d3a31caf08fb4591ce2eaa0c83474d2346d0a23 (patch)
tree42d7f4c452b6822b487f459079bb77f3c2b7e510 /src/librustdoc/html/static/js/source-script.js
parentaddacb5878b9970ebc1665768a05cb601e7aea15 (diff)
downloadrust-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