mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-22 16:11:38 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
f5257ae40d
commit
617a0e4ea5
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user