diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-03-07 15:42:29 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-03-12 12:31:13 -0800 |
| commit | b53764c73bd722ea22142bace6249d5950066253 (patch) | |
| tree | ecf0066dbdb65bf0cf4600c4560d06edcacff707 /src/libflate | |
| parent | 083db64d9050ae6f92628aa869171ac4affb016f (diff) | |
std: Clean out deprecated APIs
Removes all unstable and deprecated APIs prior to the 1.8 release. All APIs that are deprecated in the 1.8 release are sticking around for the rest of this cycle. Some notable changes are: * The `dynamic_lib` module was moved into `rustc_back` as the compiler still relies on a few bits and pieces. * The `DebugTuple` formatter now special-cases an empty struct name with only one field to append a trailing comma.
Diffstat (limited to 'src/libflate')
| -rw-r--r-- | src/libflate/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libflate/lib.rs b/src/libflate/lib.rs index a6bf735e459..1cc008c5ee9 100644 --- a/src/libflate/lib.rs +++ b/src/libflate/lib.rs @@ -27,7 +27,7 @@ #![feature(libc)] #![feature(staged_api)] #![feature(unique)] -#![cfg_attr(test, feature(rustc_private, rand, vec_push_all))] +#![cfg_attr(test, feature(rustc_private, rand))] #[cfg(test)] #[macro_use] @@ -173,7 +173,7 @@ mod tests { for _ in 0..20 { let mut input = vec![]; for _ in 0..2000 { - input.push_all(r.choose(&words).unwrap()); + input.extend_from_slice(r.choose(&words).unwrap()); } debug!("de/inflate of {} bytes of random word-sequences", input.len()); |
