Skip to content

Commit 73bc046

Browse files
chore: fix formatting
1 parent 6b67024 commit 73bc046

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/utils.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ pub fn module_to_component(wasm_file: &PathBuf, adapt_file: &Option<PathBuf>) ->
8383
let mut encoder = wit_component::ComponentEncoder::default().validate(true);
8484
encoder = encoder.module(&wasm)?;
8585
let adapt_bytes = if let Some(adapt) = adapt_file {
86-
std::fs::read(adapt).with_context(|| format!("failed to read adapt file '{}'", adapt.display()))?
86+
std::fs::read(adapt)
87+
.with_context(|| format!("failed to read adapt file '{}'", adapt.display()))?
8788
} else {
8889
WASIP1_SNAPSHOT_ADAPT.to_vec()
8990
};

0 commit comments

Comments
 (0)