]> git.lizzy.rs Git - rust.git/commit
auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brson
authorbors <bors@rust-lang.org>
Fri, 15 Feb 2013 21:54:49 +0000 (13:54 -0800)
committerbors <bors@rust-lang.org>
Fri, 15 Feb 2013 21:54:49 +0000 (13:54 -0800)
commit566bcf2225634ee4d4698247fe89364440eb534c
tree75b488c9d3568c5732c43655d461eded9697e272
parent0528329a4fb7765917bda30e9e1805627801d36a
parent91af52784aa1febcd424b9057221298c1f793094
auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brson

Issue #3869
review? @nikomatsakis

Convert all uses of vec::slice to vec::view Issue #3869
Rename const_view to const_slice
Renamed mut_view to mut_slice
Fix windows build error.  `buf` is borrowed by the call to
`as_mut_buf()` and so we must invoke `slice()` outside of that
call.
12 files changed:
src/libcargo/cargo.rc
src/libcore/io.rs
src/libcore/os.rs
src/libcore/vec.rs
src/librustc/metadata/decoder.rs
src/librustc/metadata/encoder.rs
src/librustc/middle/trans/_match.rs
src/librustc/middle/trans/common.rs
src/libstd/ebml.rs
src/libstd/net_tcp.rs
src/libstd/sort.rs
src/test/bench/shootout-k-nucleotide-pipes.rs