diff options
| author | Nikolai Vazquez <nvazquez1297@gmail.com> | 2017-09-21 16:35:23 -0400 |
|---|---|---|
| committer | Nikolai Vazquez <nvazquez1297@gmail.com> | 2017-09-21 16:35:23 -0400 |
| commit | 13221770a30d4bd56df9e8db6dc7fd95da56f8fc (patch) | |
| tree | 0fd1f8eb232aa4b55204f7c3213c598db96a7914 /src/libsyntax | |
| parent | 1b55d19479eabcb5d6cbda651187c7004aa28f7f (diff) | |
| download | rust-13221770a30d4bd56df9e8db6dc7fd95da56f8fc.tar.gz rust-13221770a30d4bd56df9e8db6dc7fd95da56f8fc.zip | |
Implement TryFrom for array reference types
There are many cases where a buffer with a static compile-time size is preferred over a slice with a dynamic size. This allows for performing a checked conversion from &[T] to &[T; N]. This may also lead to compile-time optimizations involving [T; N] such as loop unrolling.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions
