We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b60383e commit f84d977Copy full SHA for f84d977
test/test-manager/src/main.rs
@@ -31,6 +31,7 @@ struct Args {
31
}
32
33
#[derive(clap::Subcommand, Debug)]
34
+#[allow(clippy::large_enum_variant)]
35
enum Commands {
36
/// Manage configuration for tests and VMs
37
#[clap(subcommand)]
@@ -155,7 +156,7 @@ enum ConfigArg {
155
156
Which,
157
/// Manage VM-specific setting
158
- Vm(VmConfig),
159
+ Vm(Box<VmConfig>),
160
161
162
@@ -217,7 +218,7 @@ async fn main() -> Result<()> {
217
218
);
219
Ok(())
220
- ConfigArg::Vm(vm_config) => match vm_config {
221
+ ConfigArg::Vm(vm_config) => match *vm_config {
222
VmConfig::Set {
223
vm,
224
config: vm_config,
0 commit comments