diff --git a/Cargo.lock b/Cargo.lock index 76d4169..852b126 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 4 +version = 3 [[package]] name = "adler" diff --git a/src/lib/extractors.rs b/src/lib/extractors.rs index cb7cd09..bd64e86 100644 --- a/src/lib/extractors.rs +++ b/src/lib/extractors.rs @@ -396,7 +396,7 @@ pub fn extract_deb(input_path: &Path,) -> Result<(),io::Error>{ let mut entry = entry_result.unwrap(); // Create a new file with the same name as the archive entry: let mut file = File::create( - str::from_utf8(entry.header().identifier()).unwrap(), + std::str::from_utf8(entry.header().identifier()).unwrap(), ).unwrap(); // The Entry object also acts as an io::Read, so we can easily copy the // contents of the archive entry into the file: