Skip to content

Commit

Permalink
fix(params): ambiguous reference to positional arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Nov 11, 2024
1 parent adddd3f commit d2581ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ impl fmt::Display for GuestMemorySize {
#[derive(Error, Debug)]
pub enum InvalidGuestMemorySizeError {
#[error(
"Not enough guest memory. Must be at least {} (is {0})",
GuestMemorySize::minimum()
"Not enough guest memory. Must be at least {min} (is {0})",
min = GuestMemorySize::minimum()
)]
MemoryTooSmall(Byte),
#[error("Invalid amount of guest memory. Must be a multiple of 2 MiB (is {0})")]
Expand Down

0 comments on commit d2581ee

Please sign in to comment.