Skip to content

Commit 8b2ca44

Browse files
committed
fixup
1 parent f98e028 commit 8b2ca44

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test-manager/src/main.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,19 @@ enum Commands {
149149
}
150150

151151
#[derive(clap::Subcommand, Debug)]
152+
#[allow(clippy::large_enum_variant)]
152153
enum ConfigArg {
153154
/// Print the current config
154155
Get,
155156
/// Print the path to the current config file
156157
Which,
157158
/// Manage VM-specific setting
158159
#[clap(subcommand)]
159-
Vm(Box<VmConfig>),
160+
Vm(VmConfig),
160161
}
161162

162163
#[derive(clap::Subcommand, Debug)]
164+
#[allow(clippy::large_enum_variant)]
163165
enum VmConfig {
164166
/// Create or edit a VM config
165167
Set {
@@ -218,7 +220,7 @@ async fn main() -> Result<()> {
218220
);
219221
Ok(())
220222
}
221-
ConfigArg::Vm(vm_config) => match *vm_config {
223+
ConfigArg::Vm(vm_config) => match vm_config {
222224
VmConfig::Set {
223225
vm,
224226
config: vm_config,

0 commit comments

Comments
 (0)