Skip to content

Commit f84d977

Browse files
committed
Make clippy happy
1 parent b60383e commit f84d977

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test-manager/src/main.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ struct Args {
3131
}
3232

3333
#[derive(clap::Subcommand, Debug)]
34+
#[allow(clippy::large_enum_variant)]
3435
enum Commands {
3536
/// Manage configuration for tests and VMs
3637
#[clap(subcommand)]
@@ -155,7 +156,7 @@ enum ConfigArg {
155156
Which,
156157
/// Manage VM-specific setting
157158
#[clap(subcommand)]
158-
Vm(VmConfig),
159+
Vm(Box<VmConfig>),
159160
}
160161

161162
#[derive(clap::Subcommand, Debug)]
@@ -217,7 +218,7 @@ async fn main() -> Result<()> {
217218
);
218219
Ok(())
219220
}
220-
ConfigArg::Vm(vm_config) => match vm_config {
221+
ConfigArg::Vm(vm_config) => match *vm_config {
221222
VmConfig::Set {
222223
vm,
223224
config: vm_config,

0 commit comments

Comments
 (0)