diff --git a/crates/wasmtime/src/runtime/vm/mmap_vec.rs b/crates/wasmtime/src/runtime/vm/mmap_vec.rs index ebd3b83c359..1eb2c2a8455 100644 --- a/crates/wasmtime/src/runtime/vm/mmap_vec.rs +++ b/crates/wasmtime/src/runtime/vm/mmap_vec.rs @@ -80,7 +80,7 @@ impl MmapVec { let fd = file.as_raw_fd(); let mmap = Mmap::from_file(file) - .with_context(|| format!("failed to create mmap for file descriptor: {}", fd))?; + .with_context(|| format!("failed to create mmap for file descriptor: {fd}"))?; let len = mmap.len(); Ok(MmapVec::new(mmap, len)) }