From 21506a4a768ac2a27c739ed544da0777737245d4 Mon Sep 17 00:00:00 2001 From: Gaelan Steele Date: Sun, 28 Mar 2021 23:17:07 -0700 Subject: [PATCH] vmm: reorder constructor fields to match struct Satisfies nightly clippy. Signed-off-by: Gaelan Steele --- vmm/src/config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vmm/src/config.rs b/vmm/src/config.rs index 8725f663b..c6ab2b126 100644 --- a/vmm/src/config.rs +++ b/vmm/src/config.rs @@ -852,12 +852,12 @@ impl DiskConfig { iommu, num_queues, queue_size, - vhost_socket, vhost_user, + vhost_socket, poll_queue, + rate_limiter_config, id, disable_io_uring, - rate_limiter_config, }) } } @@ -1319,7 +1319,7 @@ impl ConsoleConfig { .unwrap_or(Toggle(false)) .0; - Ok(Self { mode, file, iommu }) + Ok(Self { file, mode, iommu }) } pub fn default_serial() -> Self {