Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
adambratschikaye committed Nov 6, 2024
1 parent 831a98f commit ccc946e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wasmtime/src/runtime/vm/mmap_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit ccc946e

Please sign in to comment.