|
@@ -245,7 +245,7 @@ impl<'a, R: Read + Seek> Extract<'a, R> {
|
|
|
// such as: 爱交易.app/, that does not work as expected.
|
|
|
// Here we require the file name must be a valid UTF-8.
|
|
|
let file_name = String::from_utf8(file.name_raw().to_vec())?;
|
|
|
- let out_path = into_dir.join(&file_name);
|
|
|
+ let out_path = into_dir.join(file_name);
|
|
|
if file.is_dir() {
|
|
|
fs::create_dir_all(&out_path)?;
|
|
|
} else {
|