Do not use collections feature

This commit is contained in:
Mathijs van de Nes 2015-02-24 18:46:59 +01:00
parent f382cf85b9
commit 518b40aabc
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
#![feature(unsafe_destructor)] #![feature(unsafe_destructor)]
#![warn(missing_docs)] #![warn(missing_docs)]
#![feature(core, collections, old_io, std_misc, io)] #![feature(core, old_io, std_misc, io)]
extern crate time; extern crate time;
extern crate flate2; extern crate flate2;

View file

@ -128,7 +128,7 @@ impl<W: Write+io::Seek> ZipWriter<W>
crc32: 0, crc32: 0,
compressed_size: 0, compressed_size: 0,
uncompressed_size: 0, uncompressed_size: 0,
file_name: String::from_str(name), file_name: name.to_string(),
file_comment: String::new(), file_comment: String::new(),
header_start: header_start, header_start: header_start,
data_start: 0, data_start: 0,