Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2023-10-05 19:04:13 +00:00 committed by GitHub
parent f5257ae40d
commit 617a0e4ea5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,8 @@ async fn bootstrap(
for i in 0..package.len() { for i in 0..package.len() {
let mut file = package.by_index(i).unwrap(); let mut file = package.by_index(i).unwrap();
if file.name().ends_with('/') { if file.name().ends_with('/') {
let new_package = zip::ZipArchive::new(std::io::Cursor::new(file.into_inner())).unwrap(); let new_package =
zip::ZipArchive::new(std::io::Cursor::new(file.into_inner())).unwrap();
stack.push(new_package); stack.push(new_package);
} else { } else {
let file_path = file.sanitized_name(); let file_path = file.sanitized_name();
@ -171,7 +172,6 @@ async fn bootstrap(
// spawn the requested capabilities // spawn the requested capabilities
// spawn the granted capabilities // spawn the granted capabilities
} }
} }