about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-07 08:15:29 +0100
committerGitHub <noreply@github.com>2020-03-07 08:15:29 +0100
commitb25fb9e79bc52f4746c966a7ade7bb93b67c4aa0 (patch)
tree16bec1ee2458b9dfcaeb11e9937d2082df491d0f /src/libstd/sys/unix/stack_overflow.rs
parentba1f6cbb00511becb2ab0f99d1e06388ad3dbf95 (diff)
parent53be0ccbc913f05c81f1762fd60512e3f57ab5c7 (diff)
downloadrust-b25fb9e79bc52f4746c966a7ade7bb93b67c4aa0.tar.gz
rust-b25fb9e79bc52f4746c966a7ade7bb93b67c4aa0.zip
Rollup merge of #69706 - cuviper:subslice-methods, r=Centril
Use subslice patterns in slice methods

For all of the methods that pick off the first or last element, we can
use subslice patterns to implement them directly, rather than relying on
deeper indexing function calls. At a minimum, this means the generated
code will rely less on inlining for performance, but in some cases it
also optimizes better.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions