about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-03-04 12:30:27 +0000
committerbors <bors@rust-lang.org>2018-03-04 12:30:27 +0000
commit1e1bfc715f8dfe36a38d8fae36fcbe92e7463a3f (patch)
treef918a6637865c6e3ad5e775fc2a96ea988e24a03 /src/libstd/sys/unix/process/process_unix.rs
parent9ff5cb5aea98d3f5ccc5a66aa8fd36fb43dcb55d (diff)
parent370df40dab8df9f3c0b10bb7396225b8d24869b3 (diff)
downloadrust-1e1bfc715f8dfe36a38d8fae36fcbe92e7463a3f.tar.gz
rust-1e1bfc715f8dfe36a38d8fae36fcbe92e7463a3f.zip
Auto merge of #47832 - fintelia:vec-index, r=kennytm
Have Vec use slice's implementations of Index<I> and IndexMut<I>

This PR simplifies the implementation of Index and IndexMut on Vec, and in the process enables indexing Vec by any user types that implement SliceIndex.

The stability annotations probably need to be changed, but I wasn't sure of the right way to do that. It also wasn't completely clear to me if this change could break any existing code.
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions